MINNEAPOLIS — Given the circumstances, Clayton Kershaw knew the inevitable was coming.

The three-time National League Cy Young Award winner looked like his vintage self in Wednesday’s 7-0 win over the Twins, tossing seven perfect innings in his first start of 2022. He had thrown 80 pitches and looked like he might have the ability to finish his second no-hitter — and what would have been the first perfect game of his 15-year career with the Dodgers.

• Box score

Roberts on Kershaw in 7-0 win

But Kershaw had to consider the left forearm injury that he struggled with last season and the platelet-rich plasma injection he had in October that caused a delay to his normal offseason work. Then there was the lockout and the abbreviated Spring Training.

So Kershaw knew the hook was coming from manager Dave Roberts.

“Blame it on the lockout, blame it on me not picking up a baseball until January,” said the 34-year-old left-hander, who threw a no-hitter in 2014 against the Rockies. “My slider was horrible the last two innings. It didn’t have the bite. It was time.”

Alex Vesia came on in relief and surrendered a hit to Gary Sánchez in the eighth inning to break up the perfect game and no-hit bid.

Gary Sánchez breaks up perfecto

For Roberts, it was another case of having to pull a starter deep into potential historic territory. In September 2016, he pulled Rich Hill after seven perfect innings because of the starter’s ongoing blister issues. Earlier that year, Roberts pulled Ross Stripling after 7 1/3 no-hit frames in his big league debut.

In Walker Buehler’s third career start in 2018, he was pulled after five no-hit innings.

“I love the idea that we’re preventing runs in that particular game,” Roberts said. “It’s not a great spot as far as the decision, ultimately, that I have to make. But I think if I can look back and I feel it’s the best decision — in the best interest of the player’s health and for the ballclub — looking out, then I feel good about it. But those guys make it tough on me. But we have good players.”

Kershaw, Barnes on perfecto bid

In Kershaw’s case, health was again the consideration.

“He’s pretty honest and understanding of where he was at, how he was feeling, what’s at stake — the win, the no-hitter, the potential health risk, all that stuff matters,” Roberts said. “There’s no right, 100% answer, but in this case I felt it was very clear to me the right decision was, ‘Give us seven great innings and hand the ball off to the next guy.’”

Kershaw admitted he would have liked to keep pitching, but he accepted that it was the “right choice.”

“At the end of the day, those are individual things, those are selfish goals,” Kershaw said. “We’re trying to win. That’s really all we’re here for. As much as I would have wanted to do it, I’ve thrown 75 pitches in a sim game. I hadn’t gone six innings, let alone seven. Sure, I would have loved to do it, but maybe we get another chance. Who knows?”

Dodgers go back-to-back-to-back