1KUBERNETES(1)                      Jan 2015                      KUBERNETES(1)
2
3
4

NAME

6       kubectl rollout - Manage the rollout of a resource
7
8
9

SYNOPSIS

11       kubectl rollout [OPTIONS]
12
13
14

DESCRIPTION

16       Manage the rollout of a resource.
17
18
19       Valid resource types include:
20
21       0
22
23              item deployments item daemonsets item statefulsets
24
25

OPTIONS INHERITED FROM PARENT COMMANDS

27       --alsologtostderr=false
28           log to standard error as well as files
29
30
31       --application-metrics-count-limit=100
32           Max number of application metrics to store (per container)
33
34
35       --as=""
36           Username to impersonate for the operation
37
38
39       --as-group=[]
40           Group  to  impersonate for the operation, this flag can be repeated
41       to specify multiple groups.
42
43
44       --azure-container-registry-config=""
45           Path to the file containing Azure container registry  configuration
46       information.
47
48
49       --boot-id-file="/proc/sys/kernel/random/boot_id"
50           Comma-separated  list  of files to check for boot-id. Use the first
51       one that exists.
52
53
54       --cache-dir="/builddir/.kube/http-cache"
55           Default HTTP cache directory
56
57
58       --certificate-authority=""
59           Path to a cert file for the certificate authority
60
61
62       --client-certificate=""
63           Path to a client certificate file for TLS
64
65
66       --client-key=""
67           Path to a client key file for TLS
68
69
70       --cloud-provider-gce-lb-src-cidrs=130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16
71           CIDRs opened in GCE firewall for LB traffic proxy  health checks
72
73
74       --cluster=""
75           The name of the kubeconfig cluster to use
76
77
78       --container-hints="/etc/cadvisor/container_hints.json"
79           location of the container hints file
80
81
82       --containerd="/run/containerd/containerd.sock"
83           containerd endpoint
84
85
86       --containerd-namespace="k8s.io"
87           containerd namespace
88
89
90       --context=""
91           The name of the kubeconfig context to use
92
93
94       --default-not-ready-toleration-seconds=300
95           Indicates    the    tolerationSeconds   of   the   toleration   for
96       notReady:NoExecute that is added by default to every pod that does  not
97       already have such a toleration.
98
99
100       --default-unreachable-toleration-seconds=300
101           Indicates  the  tolerationSeconds  of  the  toleration for unreach‐
102       able:NoExecute that is added by default to  every  pod  that  does  not
103       already have such a toleration.
104
105
106       --docker="unix:///var/run/docker.sock"
107           docker endpoint
108
109
110       --docker-env-metadata-whitelist=""
111           a  comma-separated  list of environment variable keys that needs to
112       be collected for docker containers
113
114
115       --docker-only=false
116           Only report docker containers in addition to root stats
117
118
119       --docker-root="/var/lib/docker"
120           DEPRECATED: docker root is read from docker info (this is  a  fall‐
121       back, default: /var/lib/docker)
122
123
124       --docker-tls=false
125           use TLS to connect to docker
126
127
128       --docker-tls-ca="ca.pem"
129           path to trusted CA
130
131
132       --docker-tls-cert="cert.pem"
133           path to client certificate
134
135
136       --docker-tls-key="key.pem"
137           path to private key
138
139
140       --enable-load-reader=false
141           Whether to enable cpu load reader
142
143
144       --event-storage-age-limit="default=0"
145           Max length of time for which to store events (per type). Value is a
146       comma separated list of key values, where  the  keys  are  event  types
147       (e.g.: creation, oom) or "default" and the value is a duration. Default
148       is applied to all non-specified event types
149
150
151       --event-storage-event-limit="default=0"
152           Max number of events to store (per type). Value is  a  comma  sepa‐
153       rated  list  of  key values, where the keys are event types (e.g.: cre‐
154       ation, oom) or "default" and  the  value  is  an  integer.  Default  is
155       applied to all non-specified event types
156
157
158       --global-housekeeping-interval=1m0s
159           Interval between global housekeepings
160
161
162       --housekeeping-interval=10s
163           Interval between container housekeepings
164
165
166       --insecure-skip-tls-verify=false
167           If true, the server's certificate will not be checked for validity.
168       This will make your HTTPS connections insecure
169
170
171       --kubeconfig=""
172           Path to the kubeconfig file to use for CLI requests.
173
174
175       --log-backtrace-at=:0
176           when logging hits line file:N, emit a stack trace
177
178
179       --log-cadvisor-usage=false
180           Whether to log the usage of the cAdvisor container
181
182
183       --log-dir=""
184           If non-empty, write log files in this directory
185
186
187       --log-file=""
188           If non-empty, use this log file
189
190
191       --log-file-max-size=1800
192           Defines the maximum size a log file can grow to. Unit is megabytes.
193       If the value is 0, the maximum file size is unlimited.
194
195
196       --log-flush-frequency=5s
197           Maximum number of seconds between log flushes
198
199
200       --logtostderr=true
201           log to standard error instead of files
202
203
204       --machine-id-file="/etc/machine-id,/var/lib/dbus/machine-id"
205           Comma-separated  list  of  files  to  check for machine-id. Use the
206       first one that exists.
207
208
209       --match-server-version=false
210           Require server version to match client version
211
212
213       -n, --namespace=""
214           If present, the namespace scope for this CLI request
215
216
217       --password=""
218           Password for basic authentication to the API server
219
220
221       --profile="none"
222           Name of profile to capture. One of (none|cpu|heap|goroutine|thread‐
223       create|block|mutex)
224
225
226       --profile-output="profile.pprof"
227           Name of the file to write the profile to
228
229
230       --request-timeout="0"
231           The  length  of  time  to  wait before giving up on a single server
232       request. Non-zero values should contain a corresponding time unit (e.g.
233       1s, 2m, 3h). A value of zero means don't timeout requests.
234
235
236       -s, --server=""
237           The address and port of the Kubernetes API server
238
239
240       --skip-headers=false
241           If true, avoid header prefixes in the log messages
242
243
244       --skip-log-headers=false
245           If true, avoid headers when opening log files
246
247
248       --stderrthreshold=2
249           logs at or above this threshold go to stderr
250
251
252       --storage-driver-buffer-duration=1m0s
253           Writes  in  the  storage driver will be buffered for this duration,
254       and committed to the non memory backends as a single transaction
255
256
257       --storage-driver-db="cadvisor"
258           database name
259
260
261       --storage-driver-host="localhost:8086"
262           database host:port
263
264
265       --storage-driver-password="root"
266           database password
267
268
269       --storage-driver-secure=false
270           use secure connection with database
271
272
273       --storage-driver-table="stats"
274           table name
275
276
277       --storage-driver-user="root"
278           database username
279
280
281       --token=""
282           Bearer token for authentication to the API server
283
284
285       --update-machine-info-interval=5m0s
286           Interval between machine info updates.
287
288
289       --user=""
290           The name of the kubeconfig user to use
291
292
293       --username=""
294           Username for basic authentication to the API server
295
296
297       -v, --v=0
298           number for the log level verbosity
299
300
301       --version=false
302           Print version information and quit
303
304
305       --vmodule=
306           comma-separated list of pattern=N settings for  file-filtered  log‐
307       ging
308
309
310

EXAMPLE

312                # Rollback to the previous deployment
313                kubectl rollout undo deployment/abc
314
315                # Check the rollout status of a daemonset
316                kubectl rollout status daemonset/foo
317
318
319
320

SEE ALSO

322       kubectl(1),    kubectl-rollout-history(1),    kubectl-rollout-pause(1),
323       kubectl-rollout-restart(1),  kubectl-rollout-resume(1),   kubectl-roll‐
324       out-status(1), kubectl-rollout-undo(1),
325
326
327

HISTORY

329       January  2015,  Originally compiled by Eric Paris (eparis at redhat dot
330       com) based on the kubernetes source material, but hopefully  they  have
331       been automatically generated since!
332
333
334
335Eric Paris                  kubernetes User Manuals              KUBERNETES(1)
Impressum