1KUBERNETES(1)(kubernetes)                            KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7

NAME

9       kubectl rollout - Manage the rollout of a resource
10
11
12

SYNOPSIS

14       kubectl rollout [OPTIONS]
15
16
17

DESCRIPTION

19       Manage the rollout of one or many resources.
20
21
22       Valid resource types include:
23
24
25              • deployments
26
27              • daemonsets
28
29              • statefulsets
30
31
32
33

OPTIONS INHERITED FROM PARENT COMMANDS

35       --as=""      Username to impersonate for the operation. User could be a
36       regular user or a service account in a namespace.
37
38
39       --as-group=[]      Group to impersonate for the  operation,  this  flag
40       can be repeated to specify multiple groups.
41
42
43       --as-uid=""      UID to impersonate for the operation.
44
45
46       --azure-container-registry-config=""       Path  to the file containing
47       Azure container registry configuration information.
48
49
50       --cache-dir="/builddir/.kube/cache"      Default cache directory
51
52
53       --certificate-authority=""      Path to a cert file for the certificate
54       authority
55
56
57       --client-certificate=""      Path to a client certificate file for TLS
58
59
60       --client-key=""      Path to a client key file for TLS
61
62
63       --cluster=""      The name of the kubeconfig cluster to use
64
65
66       --context=""      The name of the kubeconfig context to use
67
68
69       --insecure-skip-tls-verify=false      If true, the server's certificate
70       will not be checked for validity. This will make your HTTPS connections
71       insecure
72
73
74       --kubeconfig=""       Path  to  the  kubeconfig file to use for CLI re‐
75       quests.
76
77
78       --match-server-version=false       Require  server  version  to   match
79       client version
80
81
82       -n,  --namespace=""       If  present, the namespace scope for this CLI
83       request
84
85
86       --password=""      Password for basic authentication to the API server
87
88
89       --profile="none"        Name   of   profile   to   capture.   One    of
90       (none|cpu|heap|goroutine|threadcreate|block|mutex)
91
92
93       --profile-output="profile.pprof"       Name  of  the  file to write the
94       profile to
95
96
97       --request-timeout="0"      The length of time to wait before giving  up
98       on  a  single  server  request. Non-zero values should contain a corre‐
99       sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
100       out requests.
101
102
103       -s, --server=""      The address and port of the Kubernetes API server
104
105
106       --tls-server-name=""       Server  name  to  use for server certificate
107       validation. If it is not provided, the hostname  used  to  contact  the
108       server is used
109
110
111       --token=""      Bearer token for authentication to the API server
112
113
114       --user=""      The name of the kubeconfig user to use
115
116
117       --username=""      Username for basic authentication to the API server
118
119
120       --version=false      Print version information and quit
121
122
123       --warnings-as-errors=false      Treat warnings received from the server
124       as errors and exit with a non-zero exit code
125
126
127

EXAMPLE

129                # Rollback to the previous deployment
130                kubectl rollout undo deployment/abc
131
132                # Check the rollout status of a daemonset
133                kubectl rollout status daemonset/foo
134
135                # Restart a deployment
136                kubectl rollout restart deployment/abc
137
138                # Restart deployments with the app=nginx label
139                kubectl rollout restart deployment --selector=app=nginx
140
141
142
143

SEE ALSO

145       kubectl(1),    kubectl-rollout-history(1),    kubectl-rollout-pause(1),
146       kubectl-rollout-restart(1), kubectl-rollout-resume(1), kubectl-rollout-
147       status(1), kubectl-rollout-undo(1),
148
149
150

HISTORY

152       January 2015, Originally compiled by Eric Paris (eparis at  redhat  dot
153       com)  based  on the kubernetes source material, but hopefully they have
154       been automatically generated since!
155
156
157
158Manuals                              User            KUBERNETES(1)(kubernetes)
Impressum