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

 

K8S中文社区微信公众号

译者

Vincent

业精于勤 荒于嬉;行成于思 毁于随;

发表评论

电子邮件地址不会被公开。

Time limit exceeded. Please complete the captcha once again.