Zach Duke, counted on to be the second lefthander in the Cardinals’ bullpen next season, will instead likely be out most if not all of the year following Tommy John surgery.

The Cardinals said Friday that Duke, obtained from the White Sox prior to the trading deadline in exchange for outfield prospect Charlie Tilson, had the surgery last week in Pensacola, Fla.

Duke, 33, also had surgery on the flexor muscle in his forearm, the Cardinals said. It is his second Tommy John surgery, having also undergone the operation on his left elbow in 2012.

He is under contract through next season, when he is set to make $5.5 million.

Duke made 28 appearances for the Cardinals this season, posting an 0-1 record with a 1.93 ERA. He also allowed only three of 25 inherited runners to score after coming into a game.

Duke’s absence could open up a spot on the roster for other left-handed relievers. Dean Kiekhefer made several appearances this season, as did Tyler Lyons, before he was lost for the season because of a knee injury. Minor leaguers Marco Gonzales, also coming off Tommy John surgery, and Tim Cooney, who missed this season because of shoulder surgery, also could be other candidates to earn that job in spring training.