Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Looks like there's also this scenario that can prevent CAS from scaling down. It's been especially observed with Calico-typha. 1. Calico-typha will use a hostPort configuration to listen a port on host by design. This means only max 1 pod of calico-typha can exist on the same node. 2. Calico-typha is a deployment, which has a “auto-scale” configuration from the tigera operator to set its replica count according to node count. 3. When scaling down, cluster-autoscaler will try to find another node that can schedule the pod, however it will be blocked due to (1), as every other node also have typha scheduled.
- Loading branch information