Describe the bug
Product service pod deployment is flaky. Sometimes it will sit in ContainerCreating status and never get to Running status
Expected behavior
Product service should be running within a minute or two
Workaround
Run kubectl rollout restart product-service to redeploy the pod
To Reproduce
Steps to reproduce the behavior:
Clone repo
Log into azd and az cli
Run azd up command
Wait until the deployment is complete
Run the following command to see status:
$ k get po | grep product-service product-service-8498ccfd54-r8w77 0/1 ContainerCreating 0 64m
Also kube events:
$ k events | grep product-service [11:04:19]
56m Normal SuccessfulCreate ReplicaSet/product-service-8498ccfd54 Created pod: product-service-8498ccfd54-r8w77
56m Normal Scheduled Pod/product-service-8498ccfd54-r8w77 Successfully assigned default/product-service-8498ccfd54-r8w77 to aks-system-13967210-vmss000002
56m Normal ScalingReplicaSet Deployment/product-service Scaled up replica set product-service-8498ccfd54 to 1
26m Warning FailedCreatePodSandBox Pod/product-service-8498ccfd54-r8w77 Failed to create pod sandbox: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Describe the bug Product service pod deployment is flaky. Sometimes it will sit in ContainerCreating status and never get to Running status
Expected behavior Product service should be running within a minute or two
Workaround Run
kubectl rollout restart product-service
to redeploy the podTo Reproduce Steps to reproduce the behavior:
azd up
commandRun the following command to see status:
Also kube events: