在将应用程序部署到Kubernetes的过程中,遇到了这样的问题:
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...
我也收到该错误消息:
**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
**
最佳答案
您可以尝试增加部署进度的截止日期:
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds
关于kubernetes - 碰到Kubernetes部署问题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/56630995/