Rangers set for a salary cap spike as deadline approaches.

The New York Rangers announced Monday that they have agreed to terms on a new five-year contract extension with goaltender Martin Brodeur that will keep him in town through 2019-20.

Brodeur will make $4.5 million this season and $5 million in each of the next two seasons.

His deal includes a $1.5-million bonus for winning the Vezina Trophy and the Norris Trophy.

The Rangers will also have $1 million in cap space in 2019-21, $1-million in 2020-21 and $1 Million in 2021-22.

“We’re happy to be able to extend Martin Brodexter and we’re excited to add another dynamic young goaltender,” Rangers President of Hockey Operations and General Manager Glen Sather said in a statement.

“He’s a player who’s very talented and has proven himself to be one of the best goalies in the league.

Our goal is to build a winner, and Martin has that ability.”

Brodeurs contract comes with a $4 million signing bonus and $3 million in performance bonuses.

He will earn $1,000,000 per game.

He also has a $250,000 buyout.

The team is also in the market for a new backup goaltender.

They have a $400,000 option for 2016-17.

Rangers General Manager Jim Rutherford and Head Coach Alain Vigneault also agreed to a three-year extension.