come across with Kubernetes Deployment Problem with

6/17/2019

During the deployment of my application to Kubernetes, I come across with such kind of problem :

Waiting for deployment "yourapplication" rollout to finish: 0 of 1 updated 
replicas are available...
Waiting for deployment spec update to be observed...
Waiting for deployment "yourapplication" rollout to finish: 1 out of 2 new 
replicas have been updated...
Waiting for deployment "yourapplication" rollout to finish: 1 out of 2 new 
replicas have been updated...
Waiting for deployment "yourapplication" rollout to finish: 0 of 2 updated 
replicas are available...   

Also I get that error message as well :

**2019-06-13T12:01:41.0216723Z error: deployment "yourapplication" exceeded 
its progress deadline 
2019-06-13T12:01:41.0382482Z ##[error]error: deployment "yourapplication" 
exceeded its progress deadline
2019-06-13T12:01:41.0396315Z ##[error]/usr/local/bin/kubectl failed with 
return code: 1
2019-06-13T12:01:41.0399786Z ##[section]Finishing: kubectl rollout
**
-- Tonyukuk
kubernetes

1 Answer

6/17/2019

**2019-06-13T12:01:41.0216723Z error: deployment "yourapplication" exceeded its progress deadline 2019-06-13T12:01:41.0382482Z ##[error]error: deployment "yourapplication" exceeded its progress deadline

You can try increasing progress deadline of your deployment:

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds

-- Anton Ahlroth
Source: StackOverflow