zalando-incubator / stackset-controller

Opinionated StackSet resource for managing application life cycle and traffic switching in Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Controller tries to scale above `maxReplicas` and gets stuck

grassator opened this issue · comments

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

Proposed change is to cap the prescaling based on maxReplicas

👍