Skip to content

Commit 593b78f

Browse files
committed
Deprecating --api-version flag
1 parent 5cc7790 commit 593b78f

File tree

111 files changed

+159
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+159
-221
lines changed

docs/man/man1/kubectl-annotate.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.
4949

5050
.PP
5151
\fB\-\-output\-version\fP=""
52-
Output the formatted object with the given version (default api\-version).
52+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
5353

5454
.PP
5555
\fB\-\-overwrite\fP=false
@@ -92,7 +92,7 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.
9292

9393
.PP
9494
\fB\-\-api\-version\fP=""
95-
The API version to use when talking to the server
95+
DEPRECATED: The API version to use when talking to the server
9696

9797
.PP
9898
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-api-versions.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Print the supported API versions on the server, in the form of "group/version".
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-apply.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ JSON and YAML formats are accepted.
4949

5050
.PP
5151
\fB\-\-api\-version\fP=""
52-
The API version to use when talking to the server
52+
DEPRECATED: The API version to use when talking to the server
5353

5454
.PP
5555
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-attach.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Attach to a process that is already running inside an existing container.
3737

3838
.PP
3939
\fB\-\-api\-version\fP=""
40-
The API version to use when talking to the server
40+
DEPRECATED: The API version to use when talking to the server
4141

4242
.PP
4343
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-autoscale.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ An autoscaler can automatically increase or decrease number of pods deployed wit
6161

6262
.PP
6363
\fB\-\-output\-version\fP=""
64-
Output the formatted object with the given version (default api\-version).
64+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
6565

6666
.PP
6767
\fB\-\-record\fP=false
@@ -96,7 +96,7 @@ An autoscaler can automatically increase or decrease number of pods deployed wit
9696

9797
.PP
9898
\fB\-\-api\-version\fP=""
99-
The API version to use when talking to the server
99+
DEPRECATED: The API version to use when talking to the server
100100

101101
.PP
102102
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-cluster-info.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Display addresses of the master and services with label kubernetes.io/cluster\-s
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-current-context.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Displays the current\-context
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-set-context.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Specifying a name that already exists will merge new fields on top of existing v
3838

3939
.PP
4040
\fB\-\-api\-version\fP=""
41-
The API version to use when talking to the server
41+
DEPRECATED: The API version to use when talking to the server
4242

4343
.PP
4444
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-set-credentials.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Bearer token and basic auth are mutually exclusive.
6565

6666
.PP
6767
\fB\-\-api\-version\fP=""
68-
The API version to use when talking to the server
68+
DEPRECATED: The API version to use when talking to the server
6969

7070
.PP
7171
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-set.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PROPERTY\_VALUE is the new value you wish to set.
2525

2626
.PP
2727
\fB\-\-api\-version\fP=""
28-
The API version to use when talking to the server
28+
DEPRECATED: The API version to use when talking to the server
2929

3030
.PP
3131
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-unset.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PROPERTY\_NAME is a dot delimited name where each token represents either a attr
2424

2525
.PP
2626
\fB\-\-api\-version\fP=""
27-
The API version to use when talking to the server
27+
DEPRECATED: The API version to use when talking to the server
2828

2929
.PP
3030
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-use-context.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Sets the current\-context in a kubeconfig file
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-view.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can use \-\-output jsonpath={...} to extract specific values using a jsonpat
4444

4545
.PP
4646
\fB\-\-output\-version\fP=""
47-
Output the formatted object with the given version (default api\-version).
47+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
4848

4949
.PP
5050
\fB\-\-raw\fP=false
@@ -75,7 +75,7 @@ You can use \-\-output jsonpath={...} to extract specific values using a jsonpat
7575

7676
.PP
7777
\fB\-\-api\-version\fP=""
78-
The API version to use when talking to the server
78+
DEPRECATED: The API version to use when talking to the server
7979

8080
.PP
8181
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config.1

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ config modifies kubeconfig files using subcommands like "kubectl config set curr
1717

1818
.PP
1919
The loading order follows these rules:
20-
1. If the \-\-kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.
21-
2. If $KUBECONFIG environment variable is set, then it is used a list of paths (normal path delimitting rules for your system). These paths are merged together. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.
22-
3. Otherwise, ${HOME}/.kube/config is used and no merging takes place.
20+
1. If the \-\-kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.
21+
2. If $KUBECONFIG environment variable is set, then it is used a list of paths (normal path delimitting rules for your system). These paths are merged together. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.
22+
3. Otherwise, ${HOME}/.kube/config is used and no merging takes place.
2323

2424

2525
.SH OPTIONS
@@ -35,7 +35,7 @@ The loading order follows these rules:
3535

3636
.PP
3737
\fB\-\-api\-version\fP=""
38-
The API version to use when talking to the server
38+
DEPRECATED: The API version to use when talking to the server
3939

4040
.PP
4141
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-convert.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ to change to output destination.
4747

4848
.PP
4949
\fB\-\-output\-version\fP=""
50-
Output the formatted object with the given version (default api\-version).
50+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
5151

5252
.PP
5353
\fB\-\-schema\-cache\-dir\fP="\~/.kube/schema"
@@ -82,7 +82,7 @@ to change to output destination.
8282

8383
.PP
8484
\fB\-\-api\-version\fP=""
85-
The API version to use when talking to the server
85+
DEPRECATED: The API version to use when talking to the server
8686

8787
.PP
8888
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-cordon.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Mark node as unschedulable.
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create-configmap.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ symlinks, devices, pipes, etc).
5757

5858
.PP
5959
\fB\-\-output\-version\fP=""
60-
Output the formatted object with the given version (default api\-version).
60+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
6161

6262
.PP
6363
\fB\-\-save\-config\fP=false
@@ -96,7 +96,7 @@ symlinks, devices, pipes, etc).
9696

9797
.PP
9898
\fB\-\-api\-version\fP=""
99-
The API version to use when talking to the server
99+
DEPRECATED: The API version to use when talking to the server
100100

101101
.PP
102102
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create-namespace.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Create a namespace with the specified name.
3737

3838
.PP
3939
\fB\-\-output\-version\fP=""
40-
Output the formatted object with the given version (default api\-version).
40+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
4141

4242
.PP
4343
\fB\-\-save\-config\fP=false
@@ -76,7 +76,7 @@ Create a namespace with the specified name.
7676

7777
.PP
7878
\fB\-\-api\-version\fP=""
79-
The API version to use when talking to the server
79+
DEPRECATED: The API version to use when talking to the server
8080

8181
.PP
8282
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create-secret-docker-registry.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ by creating a dockercfg secret and attaching it to your service account.
6868

6969
.PP
7070
\fB\-\-output\-version\fP=""
71-
Output the formatted object with the given version (default api\-version).
71+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
7272

7373
.PP
7474
\fB\-\-save\-config\fP=false
@@ -107,7 +107,7 @@ by creating a dockercfg secret and attaching it to your service account.
107107

108108
.PP
109109
\fB\-\-api\-version\fP=""
110-
The API version to use when talking to the server
110+
DEPRECATED: The API version to use when talking to the server
111111

112112
.PP
113113
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create-secret-generic.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ symlinks, devices, pipes, etc).
5757

5858
.PP
5959
\fB\-\-output\-version\fP=""
60-
Output the formatted object with the given version (default api\-version).
60+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
6161

6262
.PP
6363
\fB\-\-save\-config\fP=false
@@ -100,7 +100,7 @@ symlinks, devices, pipes, etc).
100100

101101
.PP
102102
\fB\-\-api\-version\fP=""
103-
The API version to use when talking to the server
103+
DEPRECATED: The API version to use when talking to the server
104104

105105
.PP
106106
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create-secret.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create a secret using specified subcommand.
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create-serviceaccount.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Create a service account with the specified name.
3737

3838
.PP
3939
\fB\-\-output\-version\fP=""
40-
Output the formatted object with the given version (default api\-version).
40+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
4141

4242
.PP
4343
\fB\-\-save\-config\fP=false
@@ -76,7 +76,7 @@ Create a service account with the specified name.
7676

7777
.PP
7878
\fB\-\-api\-version\fP=""
79-
The API version to use when talking to the server
79+
DEPRECATED: The API version to use when talking to the server
8080

8181
.PP
8282
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-create.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ JSON and YAML formats are accepted.
5252

5353
.PP
5454
\fB\-\-api\-version\fP=""
55-
The API version to use when talking to the server
55+
DEPRECATED: The API version to use when talking to the server
5656

5757
.PP
5858
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-delete.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ will be lost along with the rest of the resource.
6868

6969
.PP
7070
\fB\-\-api\-version\fP=""
71-
The API version to use when talking to the server
71+
DEPRECATED: The API version to use when talking to the server
7272

7373
.PP
7474
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-describe.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endpoints (ep) or secrets.
5151

5252
.PP
5353
\fB\-\-api\-version\fP=""
54-
The API version to use when talking to the server
54+
DEPRECATED: The API version to use when talking to the server
5555

5656
.PP
5757
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-drain.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ will make the node schedulable again.
5151

5252
.PP
5353
\fB\-\-api\-version\fP=""
54-
The API version to use when talking to the server
54+
DEPRECATED: The API version to use when talking to the server
5555

5656
.PP
5757
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-edit.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ saved copy to include the latest resource version.
4848

4949
.PP
5050
\fB\-\-output\-version\fP=""
51-
Output the formatted object with the given version (default api\-version).
51+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
5252

5353
.PP
5454
\fB\-\-record\fP=false
@@ -70,7 +70,7 @@ saved copy to include the latest resource version.
7070

7171
.PP
7272
\fB\-\-api\-version\fP=""
73-
The API version to use when talking to the server
73+
DEPRECATED: The API version to use when talking to the server
7474

7575
.PP
7676
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-exec.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Execute a command in a container.
4141

4242
.PP
4343
\fB\-\-api\-version\fP=""
44-
The API version to use when talking to the server
44+
DEPRECATED: The API version to use when talking to the server
4545

4646
.PP
4747
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-explain.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ or endpoints (ep).
3636

3737
.PP
3838
\fB\-\-api\-version\fP=""
39-
The API version to use when talking to the server
39+
DEPRECATED: The API version to use when talking to the server
4040

4141
.PP
4242
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-expose.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if no labels are specified, the new service will re\-use the labels from the res
7373

7474
.PP
7575
\fB\-\-output\-version\fP=""
76-
Output the formatted object with the given version (default api\-version).
76+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
7777

7878
.PP
7979
\fB\-\-overrides\fP=""
@@ -136,7 +136,7 @@ if no labels are specified, the new service will re\-use the labels from the res
136136

137137
.PP
138138
\fB\-\-api\-version\fP=""
139-
The API version to use when talking to the server
139+
DEPRECATED: The API version to use when talking to the server
140140

141141
.PP
142142
\fB\-\-certificate\-authority\fP=""

0 commit comments

Comments
 (0)