1

在将我的应用程序部署到 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
**
4

1 回答 1

1

**2019-06-13T12:01:41.0216723Z 错误:部署“yourapplication”超过了进度期限 2019-06-13T12:01:41.0382482Z ##[error]error:部署“yourapplication”超过了进度期限

您可以尝试增加部署的进度期限:

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

于 2019-06-17T12:20:04.997 回答