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

NAME

6       kubectl  api-versions - Print the supported API versions on the server,
7       in the form of "group/version"
8
9
10

SYNOPSIS

12       kubectl api-versions [OPTIONS]
13
14
15

DESCRIPTION

17       Print the supported  API  versions  on  the  server,  in  the  form  of
18       "group/version"
19
20
21

OPTIONS INHERITED FROM PARENT COMMANDS

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

EXAMPLE

299                # Print the supported API versions
300                kubectl api-versions
301
302
303
304

SEE ALSO

306       kubectl(1),
307
308
309

HISTORY

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