The Mariners have signed Marco Gonzales to a four-year extension that begins in 2021.