Skip to content

The HPA resources are always OutOfSync even though there is nothing to change #4731

Answered by ffjlabo
ffjlabo asked this question in Q&A
Discussion options

You must be logged in to vote

This is a problem with k8s HPA resource reordering.
kubernetes/kubernetes#74099

According to this issue,

  • .spec.metrics (array) in HPA is reordered after applying the manifest.
  • This problem is solved by using k8s version 1.27

So the solution is to fix the yaml in the repo in the same order as one in the cluster.

Replies: 2 comments

Comment options

ffjlabo
Dec 20, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by ffjlabo
Comment options

ffjlabo
Dec 20, 2023
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant