# kubectl rollout resume 命令详解
恢复已暂停的资源
被 pause 命令暂停的资源将不会被控制器协调使用。可以通过 resume 来恢复资源。目前仅支持恢复 deployment 资源。
# 语法
$ resume RESOURCE
# 示例
恢复已暂停的 deployment
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. |