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