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       --disable-compression=false       If true, opt-out of response compres‐
70       sion for all requests to the server
71
72
73       --insecure-skip-tls-verify=false      If true, the server's certificate
74       will not be checked for validity. This will make your HTTPS connections
75       insecure
76
77
78       --kubeconfig=""      Path to the kubeconfig file to  use  for  CLI  re‐
79       quests.
80
81
82       --match-server-version=false        Require  server  version  to  match
83       client version
84
85
86       -n, --namespace=""      If present, the namespace scope  for  this  CLI
87       request
88
89
90       --password=""      Password for basic authentication to the API server
91
92
93       --profile="none"         Name   of   profile   to   capture.   One   of
94       (none|cpu|heap|goroutine|threadcreate|block|mutex)
95
96
97       --profile-output="profile.pprof"      Name of the  file  to  write  the
98       profile to
99
100
101       --request-timeout="0"       The length of time to wait before giving up
102       on a single server request. Non-zero values  should  contain  a  corre‐
103       sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
104       out requests.
105
106
107       -s, --server=""      The address and port of the Kubernetes API server
108
109
110       --tls-server-name=""      Server name to  use  for  server  certificate
111       validation.  If  it  is  not provided, the hostname used to contact the
112       server is used
113
114
115       --token=""      Bearer token for authentication to the API server
116
117
118       --user=""      The name of the kubeconfig user to use
119
120
121       --username=""      Username for basic authentication to the API server
122
123
124       --version=false      Print version information and quit
125
126
127       --warnings-as-errors=false      Treat warnings received from the server
128       as errors and exit with a non-zero exit code
129
130
131

EXAMPLE

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

SEE ALSO

149       kubectl(1),    kubectl-rollout-history(1),    kubectl-rollout-pause(1),
150       kubectl-rollout-restart(1), kubectl-rollout-resume(1), kubectl-rollout-
151       status(1), kubectl-rollout-undo(1),
152
153
154

HISTORY

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