1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubectl rollout history - View rollout history
7
8
9
11 kubectl rollout history [OPTIONS]
12
13
14
16 View previous rollout revisions and configurations.
17
18
19
21 --allow-missing-template-keys=true
22 If true, ignore any errors in templates when a field or map key is
23 missing in the template. Only applies to golang and jsonpath output
24 formats.
25
26
27 -f, --filename=[]
28 Filename, directory, or URL to files identifying the resource to
29 get from a server.
30
31
32 -o, --output=""
33 Output format. One of: json|yaml|name|go-template|go-tem‐
34 plate-file|template|templatefile|jsonpath|jsonpath-file.
35
36
37 -R, --recursive=false
38 Process the directory used in -f, --filename recursively. Useful
39 when you want to manage related manifests organized within the same
40 directory.
41
42
43 --revision=0
44 See the details, including podTemplate of the revision specified
45
46
47 --template=""
48 Template string or path to template file to use when -o=go-tem‐
49 plate, -o=go-template-file. The template format is golang templates [
50 ⟨http://golang.org/pkg/text/template/#pkg-overview⟩].
51
52
53
55 --alsologtostderr=false
56 log to standard error as well as files
57
58
59 --application-metrics-count-limit=100
60 Max number of application metrics to store (per container)
61
62
63 --as=""
64 Username to impersonate for the operation
65
66
67 --as-group=[]
68 Group to impersonate for the operation, this flag can be repeated
69 to specify multiple groups.
70
71
72 --azure-container-registry-config=""
73 Path to the file containing Azure container registry configuration
74 information.
75
76
77 --boot-id-file="/proc/sys/kernel/random/boot_id"
78 Comma-separated list of files to check for boot-id. Use the first
79 one that exists.
80
81
82 --cache-dir="/builddir/.kube/http-cache"
83 Default HTTP cache directory
84
85
86 --certificate-authority=""
87 Path to a cert file for the certificate authority
88
89
90 --client-certificate=""
91 Path to a client certificate file for TLS
92
93
94 --client-key=""
95 Path to a client key file for TLS
96
97
98 --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
99 CIDRs opened in GCE firewall for LB traffic proxy health checks
100
101
102 --cluster=""
103 The name of the kubeconfig cluster to use
104
105
106 --container-hints="/etc/cadvisor/container_hints.json"
107 location of the container hints file
108
109
110 --containerd="unix:///var/run/containerd.sock"
111 containerd endpoint
112
113
114 --context=""
115 The name of the kubeconfig context to use
116
117
118 --default-not-ready-toleration-seconds=300
119 Indicates the tolerationSeconds of the toleration for
120 notReady:NoExecute that is added by default to every pod that does not
121 already have such a toleration.
122
123
124 --default-unreachable-toleration-seconds=300
125 Indicates the tolerationSeconds of the toleration for unreach‐
126 able:NoExecute that is added by default to every pod that does not
127 already have such a toleration.
128
129
130 --docker="unix:///var/run/docker.sock"
131 docker endpoint
132
133
134 --docker-env-metadata-whitelist=""
135 a comma-separated list of environment variable keys that needs to
136 be collected for docker containers
137
138
139 --docker-only=false
140 Only report docker containers in addition to root stats
141
142
143 --docker-root="/var/lib/docker"
144 DEPRECATED: docker root is read from docker info (this is a fall‐
145 back, default: /var/lib/docker)
146
147
148 --docker-tls=false
149 use TLS to connect to docker
150
151
152 --docker-tls-ca="ca.pem"
153 path to trusted CA
154
155
156 --docker-tls-cert="cert.pem"
157 path to client certificate
158
159
160 --docker-tls-key="key.pem"
161 path to private key
162
163
164 --enable-load-reader=false
165 Whether to enable cpu load reader
166
167
168 --event-storage-age-limit="default=0"
169 Max length of time for which to store events (per type). Value is a
170 comma separated list of key values, where the keys are event types
171 (e.g.: creation, oom) or "default" and the value is a duration. Default
172 is applied to all non-specified event types
173
174
175 --event-storage-event-limit="default=0"
176 Max number of events to store (per type). Value is a comma sepa‐
177 rated list of key values, where the keys are event types (e.g.: cre‐
178 ation, oom) or "default" and the value is an integer. Default is
179 applied to all non-specified event types
180
181
182 --global-housekeeping-interval=1m0s
183 Interval between global housekeepings
184
185
186 --housekeeping-interval=10s
187 Interval between container housekeepings
188
189
190 --insecure-skip-tls-verify=false
191 If true, the server's certificate will not be checked for validity.
192 This will make your HTTPS connections insecure
193
194
195 --kubeconfig=""
196 Path to the kubeconfig file to use for CLI requests.
197
198
199 --log-backtrace-at=:0
200 when logging hits line file:N, emit a stack trace
201
202
203 --log-cadvisor-usage=false
204 Whether to log the usage of the cAdvisor container
205
206
207 --log-dir=""
208 If non-empty, write log files in this directory
209
210
211 --log-file=""
212 If non-empty, use this log file
213
214
215 --log-flush-frequency=5s
216 Maximum number of seconds between log flushes
217
218
219 --logtostderr=true
220 log to standard error instead of files
221
222
223 --machine-id-file="/etc/machine-id,/var/lib/dbus/machine-id"
224 Comma-separated list of files to check for machine-id. Use the
225 first one that exists.
226
227
228 --match-server-version=false
229 Require server version to match client version
230
231
232 --mesos-agent="127.0.0.1:5051"
233 Mesos agent address
234
235
236 --mesos-agent-timeout=10s
237 Mesos agent timeout
238
239
240 -n, --namespace=""
241 If present, the namespace scope for this CLI request
242
243
244 --password=""
245 Password for basic authentication to the API server
246
247
248 --profile="none"
249 Name of profile to capture. One of (none|cpu|heap|goroutine|thread‐
250 create|block|mutex)
251
252
253 --profile-output="profile.pprof"
254 Name of the file to write the profile to
255
256
257 --request-timeout="0"
258 The length of time to wait before giving up on a single server
259 request. Non-zero values should contain a corresponding time unit (e.g.
260 1s, 2m, 3h). A value of zero means don't timeout requests.
261
262
263 -s, --server=""
264 The address and port of the Kubernetes API server
265
266
267 --skip-headers=false
268 If true, avoid header prefixes in the log messages
269
270
271 --stderrthreshold=2
272 logs at or above this threshold go to stderr
273
274
275 --storage-driver-buffer-duration=1m0s
276 Writes in the storage driver will be buffered for this duration,
277 and committed to the non memory backends as a single transaction
278
279
280 --storage-driver-db="cadvisor"
281 database name
282
283
284 --storage-driver-host="localhost:8086"
285 database host:port
286
287
288 --storage-driver-password="root"
289 database password
290
291
292 --storage-driver-secure=false
293 use secure connection with database
294
295
296 --storage-driver-table="stats"
297 table name
298
299
300 --storage-driver-user="root"
301 database username
302
303
304 --token=""
305 Bearer token for authentication to the API server
306
307
308 --user=""
309 The name of the kubeconfig user to use
310
311
312 --username=""
313 Username for basic authentication to the API server
314
315
316 -v, --v=0
317 log level for V logs
318
319
320 --version=false
321 Print version information and quit
322
323
324 --vmodule=
325 comma-separated list of pattern=N settings for file-filtered log‐
326 ging
327
328
329
331 # View the rollout history of a deployment
332 kubectl rollout history deployment/abc
333
334 # View the details of daemonset revision 3
335 kubectl rollout history daemonset/abc --revision=3
336
337
338
339
341 kubectl-rollout(1),
342
343
344
346 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
347 com) based on the kubernetes source material, but hopefully they have
348 been automatically generated since!
349
350
351
352Eric Paris kubernetes User Manuals KUBERNETES(1)