1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubectl plugin - Provides utilities for interacting with plugins.
7
8
9
11 kubectl plugin [OPTIONS]
12
13
14
16 Provides utilities for interacting with plugins.
17
18
19 Plugins provide extended functionality that is not part of the major
20 command-line distribution. Please refer to the documentation and exam‐
21 ples for more information about how write your own plugins.
22
23
24
26 --allow-verification-with-non-compliant-keys=false
27 Allow a SignatureVerifier to use keys which are technically
28 non-compliant with RFC6962.
29
30
31 --alsologtostderr=false
32 log to standard error as well as files
33
34
35 --application-metrics-count-limit=100
36 Max number of application metrics to store (per container)
37
38
39 --as=""
40 Username to impersonate for the operation
41
42
43 --as-group=[]
44 Group to impersonate for the operation, this flag can be repeated
45 to specify multiple groups.
46
47
48 --azure-container-registry-config=""
49 Path to the file containing Azure container registry configuration
50 information.
51
52
53 --boot-id-file="/proc/sys/kernel/random/boot_id"
54 Comma-separated list of files to check for boot-id. Use the first
55 one that exists.
56
57
58 --cache-dir="/builddir/.kube/http-cache"
59 Default HTTP cache directory
60
61
62 --certificate-authority=""
63 Path to a cert file for the certificate authority
64
65
66 --client-certificate=""
67 Path to a client certificate file for TLS
68
69
70 --client-key=""
71 Path to a client key file for TLS
72
73
74 --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
75 CIDRs opened in GCE firewall for LB traffic proxy health checks
76
77
78 --cluster=""
79 The name of the kubeconfig cluster to use
80
81
82 --container-hints="/etc/cadvisor/container_hints.json"
83 location of the container hints file
84
85
86 --containerd="unix:///var/run/containerd.sock"
87 containerd endpoint
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 --google-json-key=""
163 The Google Cloud Platform Service Account JSON Key to use for
164 authentication.
165
166
167 --housekeeping-interval=10s
168 Interval between container housekeepings
169
170
171 --insecure-skip-tls-verify=false
172 If true, the server's certificate will not be checked for validity.
173 This will make your HTTPS connections insecure
174
175
176 --kubeconfig=""
177 Path to the kubeconfig file to use for CLI requests.
178
179
180 --log-backtrace-at=:0
181 when logging hits line file:N, emit a stack trace
182
183
184 --log-cadvisor-usage=false
185 Whether to log the usage of the cAdvisor container
186
187
188 --log-dir=""
189 If non-empty, write log files in this directory
190
191
192 --log-flush-frequency=5s
193 Maximum number of seconds between log flushes
194
195
196 --logtostderr=true
197 log to standard error instead of files
198
199
200 --machine-id-file="/etc/machine-id,/var/lib/dbus/machine-id"
201 Comma-separated list of files to check for machine-id. Use the
202 first one that exists.
203
204
205 --match-server-version=false
206 Require server version to match client version
207
208
209 --mesos-agent="127.0.0.1:5051"
210 Mesos agent address
211
212
213 --mesos-agent-timeout=10s
214 Mesos agent timeout
215
216
217 -n, --namespace=""
218 If present, the namespace scope for this CLI request
219
220
221 --request-timeout="0"
222 The length of time to wait before giving up on a single server
223 request. Non-zero values should contain a corresponding time unit (e.g.
224 1s, 2m, 3h). A value of zero means don't timeout requests.
225
226
227 -s, --server=""
228 The address and port of the Kubernetes API server
229
230
231 --stderrthreshold=2
232 logs at or above this threshold go to stderr
233
234
235 --storage-driver-buffer-duration=1m0s
236 Writes in the storage driver will be buffered for this duration,
237 and committed to the non memory backends as a single transaction
238
239
240 --storage-driver-db="cadvisor"
241 database name
242
243
244 --storage-driver-host="localhost:8086"
245 database host:port
246
247
248 --storage-driver-password="root"
249 database password
250
251
252 --storage-driver-secure=false
253 use secure connection with database
254
255
256 --storage-driver-table="stats"
257 table name
258
259
260 --storage-driver-user="root"
261 database username
262
263
264 --token=""
265 Bearer token for authentication to the API server
266
267
268 --user=""
269 The name of the kubeconfig user to use
270
271
272 -v, --v=0
273 log level for V logs
274
275
276 --version=false
277 Print version information and quit
278
279
280 --vmodule=
281 comma-separated list of pattern=N settings for file-filtered log‐
282 ging
283
284
285
287 kubectl(1), kubectl-plugin-list(1),
288
289
290
292 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
293 com) based on the kubernetes source material, but hopefully they have
294 been automatically generated since!
295
296
297
298Eric Paris kubernetes User Manuals KUBERNETES(1)