Controller tries to scale above `maxReplicas` and gets stuck
grassator opened this issue · comments
Dmitriy Kubyshkin commented
Currently stackset may decide to pre-scale the deployment to a number of pods higher than what is specified inside maxReplicas
. Since HPA can not go beyond maxReplicas
stackset continues waiting and never completes the switch.
Proposed change is to cap the prescaling based on maxReplicas
Mikkel Oscar Lyderik Larsen commented
Proposed change is to cap the prescaling based on maxReplicas
👍