容器编排技术 -- Kubernetes kubectl rollout history 命令详解
容器编排技术 -- Kubernetes kubectl rollout history 命令详解1kubectl history2语法3示例4Flagskubectl history查看之前推出的版本(历史版本)。语法$ history (TYPE NAME | TYPE/NAME) [flags]示例查看deployment的历史记录...
·
容器编排技术 -- Kubernetes kubectl rollout history 命令详解
kubectl history
查看之前推出的版本(历史版本)。
语法
$ history (TYPE NAME | TYPE/NAME) [flags]
示例
查看deployment的历史记录
kubectl rollout history deployment/abc
查看daemonset修订版3的详细信息
kubectl rollout history daemonset/abc --revision=3
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. |
revision | 0 | See the details, including podTemplate of the revision specified |
更多推荐
所有评论(0)