1KUBERNETES(1)(kubernetes)                            KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7

NAME

9       kubectl  api-versions - Print the supported API versions on the server,
10       in the form of "group/version"
11
12
13

SYNOPSIS

15       kubectl api-versions [OPTIONS]
16
17
18

DESCRIPTION

20       Print the supported  API  versions  on  the  server,  in  the  form  of
21       "group/version".
22
23
24

OPTIONS INHERITED FROM PARENT COMMANDS

26       --as=""      Username to impersonate for the operation. User could be a
27       regular user or a service account in a namespace.
28
29
30       --as-group=[]      Group to impersonate for the  operation,  this  flag
31       can be repeated to specify multiple groups.
32
33
34       --as-uid=""      UID to impersonate for the operation.
35
36
37       --azure-container-registry-config=""       Path  to the file containing
38       Azure container registry configuration information.
39
40
41       --cache-dir="/builddir/.kube/cache"      Default cache directory
42
43
44       --certificate-authority=""      Path to a cert file for the certificate
45       authority
46
47
48       --client-certificate=""      Path to a client certificate file for TLS
49
50
51       --client-key=""      Path to a client key file for TLS
52
53
54       --cluster=""      The name of the kubeconfig cluster to use
55
56
57       --context=""      The name of the kubeconfig context to use
58
59
60       --disable-compression=false       If true, opt-out of response compres‐
61       sion for all requests to the server
62
63
64       --insecure-skip-tls-verify=false      If true, the server's certificate
65       will not be checked for validity. This will make your HTTPS connections
66       insecure
67
68
69       --kubeconfig=""      Path to the kubeconfig file to  use  for  CLI  re‐
70       quests.
71
72
73       --match-server-version=false        Require  server  version  to  match
74       client version
75
76
77       -n, --namespace=""      If present, the namespace scope  for  this  CLI
78       request
79
80
81       --password=""      Password for basic authentication to the API server
82
83
84       --profile="none"         Name   of   profile   to   capture.   One   of
85       (none|cpu|heap|goroutine|threadcreate|block|mutex)
86
87
88       --profile-output="profile.pprof"      Name of the  file  to  write  the
89       profile to
90
91
92       --request-timeout="0"       The length of time to wait before giving up
93       on a single server request. Non-zero values  should  contain  a  corre‐
94       sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
95       out requests.
96
97
98       -s, --server=""      The address and port of the Kubernetes API server
99
100
101       --tls-server-name=""      Server name to  use  for  server  certificate
102       validation.  If  it  is  not provided, the hostname used to contact the
103       server is used
104
105
106       --token=""      Bearer token for authentication to the API server
107
108
109       --user=""      The name of the kubeconfig user to use
110
111
112       --username=""      Username for basic authentication to the API server
113
114
115       --version=false      Print version information and quit
116
117
118       --warnings-as-errors=false      Treat warnings received from the server
119       as errors and exit with a non-zero exit code
120
121
122

EXAMPLE

124                # Print the supported API versions
125                kubectl api-versions
126
127
128
129

SEE ALSO

131       kubectl(1),
132
133
134

HISTORY

136       January  2015,  Originally compiled by Eric Paris (eparis at redhat dot
137       com) based on the kubernetes source material, but hopefully  they  have
138       been automatically generated since!
139
140
141
142Manuals                              User            KUBERNETES(1)(kubernetes)
Impressum