-
Story
-
Resolution: Done
-
Normal
-
Pipelines 1.5, Pipelines 1.6, Pipelines 1.5.1
-
None
We are encountering a strange issue where the HPA for tekton-pipelines-webhook is constantly scaling the deployment tekton-pipelines-webhook from 1 to 3+ and then back to 1 instantly. This results in a lot of pods being started but instantly terminated. Some of these pods then get stuck in terminating state, and they start stacking up resulting in something like the image attached.
We've tried changing the HPA to only scale to at most 1 pod, but this change eventually gets over-written by the operator anyways. We're wondering if this is a known issue/problem, or if there's some resolution/workaround we can do.
Scaling down the operator seems to allow HPA to work uninterrupted, indicating that this is likely due to the operator fighting with the HPA in scaling the replica counts.
Additional slack chat for context: https://coreos.slack.com/archives/CSPS1077U/p1635355148029600