HPA for custom resource #3625
Unanswered
igorekpotworek
asked this question in
General
Replies: 3 comments 2 replies
-
Hi, I'm running into the same problem. I wonder if you've found any solution for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It seems that the solution is to 1) remove |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm facing same issue. any update regarding this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to FAQ : when using a HorizontalPodAutoscaler for Deployment the
spec.replicas
field should be omitted from the Deployments YAML.I tried to do the same when using HPA on Custom Resource but it failed with:
When
spec.replicas
is specified then I'm getting constant drift: i.e. HPA is scaling down the resource but then on the next Flux reconciliation resource is scaled up and so on.Is there any fix for this issue or it's just impossible to use HPA on CRD when using Flux?
Beta Was this translation helpful? Give feedback.
All reactions