DENVER — Joakim Noah has left the Knicks indefinitely for what the team called “personal reasons.’’

Sources have indicated Noah is unhappy with his situation and the Golden State game Tuesday was the trigger point. One NBA source said Noah could be on a leave of absence for as long as a week.

Noah has appeared in just seven games this season, in part, because of the Knicks’ glut at center. Even with Kristaps Porzingis and Kyle O’Quinn out Tuesday, Noah was removed after just 4:30 of fourth-quarter garbage time and was visibly upset when he declined comment after the game.

According to a source, Noah looked anguished as he came off the court and he said something to coach Jeff Hornacek.

“I thought that could be a problem,’’ said one NBA source who witnessed Noah’s exit. “His feelings were hurt. He was pissed.’’

Noah was expecting a larger role that night, according to another source. Hornacek had said before that game Noah and Willy Hernangomez had been “wanting to play’’ and the injuries to Porzingis and O’Quinn would afford them the chance. It didn’t materialize.

When asked Thursday night if Noah is upset with his situation, Hornacek said, “I can’t speak for Jo. I don’t think it’s right. He’s not here to speak to that. When he’s back he can talk about that. But he’s a competitor. He works hard every day. Our coach puts him through a ton of drills. He’s a fierce competitor. We’ll see when he gets back.”

Hornacek declined to comment whether Noah’s dissatisfaction with his role is the reason he’s not with club.

Noah was at practice on Wednesday, but was not on hand Thursday night and won’t be with the team Friday in Phoenix, where the Knicks close out their six-game Western Conference road trip.

“[It’s] for these two games and we’ll see,’’ Hornacek said.

When pressed, Hornacek added: “We’re not going to comment on that stuff. Personal reasons, he won’t be with us for a couple of games. He works hard to keep himself in shape. He’s professional that way. It’s always tough when you want to play.’’

Noah has two-plus years left on a four-year, $72 million pact he signed in the summer of 2016, when Phil Jackson was team president. The contract is considered largely untradeable for now, especially with Noah inactive for most games. There has been speculation the Knicks eventually will utilize a stretch provision to ease salary-cap space, but they can accomplish the same savings by doing it in July to see if it nets them a free agent.

He was inactive for the Knicks’ three games against Chicago, where he starred for the Bulls and was once named the league’s defensive player of the year. His last meaningful minutes came in New Orleans on Dec. 30, when he played the final 13 minutes and helped spark a fourth-quarter comeback with his defense.

“Not playing is very hard,’’ Noah said after that game. “But it’s a team game and not about me. It’s about this team. I’m not going to lie and tell you not being able to suit up in a place where I played for 10 years doesn’t sting. It hurts a lot.”

Knicks president Steve Mills and new general manager Scott Perry have no agenda to try to make the Noah deal look good, and the team has stated that 2017-18 is a developmental season.

The center logjam is so severe, even Hernangomez, hyped as a member of the team’s young core, has not played at all in several games this season and has had trouble getting minutes.

Porzingis returned to action Thursday, but O’Quinn was out again, meaning Noah likely would have suited up.

Hornacek said Noah was not returning home to play in G-League games to keep sharp.

With Noah departing, the Knicks summoned rookie shooting guard Damyean Dotson, who was amid an extended G-League stint. Dotson, their 2017 second-round pick, played the past four G-League games.

With his bags in tow, Dotson arrived Thursday morning at the Pepsi Center right before the Knicks took the court for their morning shoot-around. The 6-foot-7 Dotson is a big shooting guard who has impressed Hornacek defensively and has a 3-point shot.

“He’s the type of kid who wants to play,’’ Hornacek said. “After all this having to go back and forth between inactive, we felt it would be good for him to have a stretch of [G-League] games. He’s done well, enjoyed playing and is happy to come to us.’’