-
Bug
-
Resolution: Done
-
Undefined
-
1.30.1
-
None
-
None
-
False
-
None
-
False
-
-
Reported by Berto here: https://redhat-internal.slack.com/archives/C051XSYFT7U/p1698936785497369
Reproduced with:
- Serverless 1.30.x
- First create a service with min-scale: 1 then update it to min-scale: 3
- (if the problem does not occur, repeat)
Problem:
- The scale of the old deployment is flapping between 1/3 for a few seconds, causing a lot of pods to be created and immediately destroyed
Log:
kubectl get deploy -n default -w
NAME READY UP-TO-DATE AVAILABLE AGE
curl 1/1 1 1 7m16s
test-00008-deployment 3/3 3 3 28s
test-00009-deployment 0/1 0 0 0s
test-00009-deployment 0/1 0 0 0s
test-00009-deployment 0/1 0 0 0s
test-00009-deployment 0/1 1 0 0s
test-00009-deployment 1/1 1 1 2s
test-00008-deployment 3/1 3 3 33s
test-00008-deployment 3/1 3 3 33s
test-00008-deployment 1/1 1 1 33s
test-00008-deployment 1/3 1 1 33s
test-00008-deployment 1/3 1 1 33s
test-00008-deployment 1/3 1 1 33s
test-00008-deployment 1/1 1 1 33s
test-00008-deployment 1/1 3 1 33s
test-00008-deployment 1/1 3 1 33s
test-00008-deployment 1/3 3 1 33s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/1 3 1 34s
test-00008-deployment 1/1 3 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/1 3 1 34s
test-00008-deployment 1/1 3 1 34s
test-00008-deployment 1/3 3 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/1 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 1 1 34s
test-00008-deployment 1/3 3 1 34s
test-00008-deployment 2/3 3 2 37s
test-00008-deployment 3/3 3 3 38s
test-00008-deployment 3/1 3 3 38s
test-00008-deployment 3/1 3 3 38s
test-00008-deployment 1/1 1 1 38s
test-00008-deployment 1/3 1 1 38s
test-00008-deployment 1/3 1 1 38s
test-00008-deployment 1/3 1 1 38s
test-00008-deployment 1/1 1 1 38s
test-00008-deployment 1/1 3 1 38s
test-00008-deployment 1/1 3 1 38s
test-00008-deployment 1/1 1 1 38s
test-00008-deployment 1/0 1 1 98s
test-00008-deployment 1/0 1 1 98s
test-00008-deployment 0/0 0 0 98s
kubectl get pa -n default -w
NAME DESIREDSCALE ACTUALSCALE READY REASON
test-00010 3 3 True
test-00011
test-00011 -1 0 Unknown Queued
test-00011 1 0 Unknown Queued
test-00011 1 1 Unknown NotReady
test-00011 -1 1 Unknown NotReady
test-00011 -1 1 Unknown NotReady
test-00011 -1 1 True
test-00011 -1 1 True
test-00011 -1 1 True
test-00010 3 3 True
test-00010 1 3 True
test-00010 1 2 Unknown NotReady
test-00010 1 1 Unknown NotReady
test-00010 1 1 Unknown NotReady
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 1 1 True
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 1 1 True
test-00010 1 1 True
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 1 1 True
test-00011 1 1 True
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 3 2 Unknown Queued
test-00010 3 2 Unknown Queued
test-00010 3 3 Unknown NotReady
test-00010 3 3 True
test-00010 3 3 True
test-00010 1 3 True
test-00010 1 2 Unknown NotReady
test-00010 1 1 Unknown NotReady
test-00010 1 1 True
test-00010 1 1 True
test-00010 3 1 Unknown Queued
test-00010 3 1 Unknown Queued
test-00010 -1 1 True
test-00010 1 1 True