kubectl rollout resume

恢复已暂停的资源

pause命令暂停的资源将不会被控制器协调使用。可以通过resume来恢复资源。目前仅支持恢复deployment资源。

语法

  1. $ resume RESOURCE

示例

恢复已暂停的 deployment

  1. kubectl rollout resume deployment/nginx

Flags

Name Shorthand Default Usage
filename f [] Filename, directory, or URL to files identifying the resource to get from a server.
recursive R false Process the directory used in -f, —filename recursively. Useful when you want to manage related manifests organized within the same directory.

K8S中文社区微信公众号

原文: http://docs.kubernetes.org.cn/650.html