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

NAME

6       kubectl set - Set specific features on objects
7
8
9

SYNOPSIS

11       kubectl set [OPTIONS]
12
13
14

DESCRIPTION

16       Configure application resources
17
18
19       These commands help you make changes to existing application resources.
20
21
22

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

300       kubectl(1),          kubectl-set-env(1),          kubectl-set-image(1),
301       kubectl-set-resources(1),   kubectl-set-selector(1),   kubectl-set-ser‐
302       viceaccount(1), kubectl-set-subject(1),
303
304
305

HISTORY

307       January 2015, Originally compiled by Eric Paris (eparis at  redhat  dot
308       com)  based  on the kubernetes source material, but hopefully they have
309       been automatically generated since!
310
311
312
313Eric Paris                  kubernetes User Manuals              KUBERNETES(1)
Impressum