1OC(1)                              June 2016                             OC(1)
2
3
4

NAME

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

SYNOPSIS

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

EXAMPLE

271                # Print the supported API versions
272                oc api-versions
273
274
275
276

SEE ALSO

278       oc(1),
279
280
281

HISTORY

283       June 2016, Ported from the Kubernetes man-doc generator
284
285
286
287Openshift                  Openshift CLI User Manuals                    OC(1)
Impressum