File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # kubectl api-versions
2
+
3
+ > Print the supported API versions on the server, in the form of "group/version".
4
+ > More information: < https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions > .
5
+
6
+ - Print the supported API versions on the server, in the form of "group/version":
7
+
8
+ ` kubectl api-versions `
Original file line number Diff line number Diff line change
1
+ # kubectl version
2
+
3
+ > Print the client and server version information for the current context.
4
+ > More information: < https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version > .
5
+
6
+ - Print the client and server version information for the current context:
7
+
8
+ ` kubectl version `
9
+
10
+ - Print the client version only for the current context:
11
+
12
+ ` kubectl version --client `
13
+
14
+ - Output the client and server version information for the current context in JSON:
15
+
16
+ ` kubectl version {{[-o|--output]}} json `
17
+
18
+ - Output the client and server version information for the current context in YAML:
19
+
20
+ ` kubectl version {{[-o|--output]}} yaml `
You can’t perform that action at this time.
0 commit comments