Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecating --api-version flag #22410

Merged
merged 1 commit into from Mar 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-annotate.1
Expand Up @@ -49,7 +49,7 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.

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

.PP
\fB\-\-overwrite\fP=false
Expand Down Expand Up @@ -92,7 +92,7 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-api-versions.1
Expand Up @@ -23,7 +23,7 @@ Print the supported API versions on the server, in the form of "group/version".

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-apply.1
Expand Up @@ -49,7 +49,7 @@ JSON and YAML formats are accepted.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-attach.1
Expand Up @@ -37,7 +37,7 @@ Attach to a process that is already running inside an existing container.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-autoscale.1
Expand Up @@ -61,7 +61,7 @@ An autoscaler can automatically increase or decrease number of pods deployed wit

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

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

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-cluster-info.1
Expand Up @@ -23,7 +23,7 @@ Display addresses of the master and services with label kubernetes.io/cluster\-s

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-config-current-context.1
Expand Up @@ -23,7 +23,7 @@ Displays the current\-context

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-config-set-context.1
Expand Up @@ -38,7 +38,7 @@ Specifying a name that already exists will merge new fields on top of existing v

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-config-set-credentials.1
Expand Up @@ -65,7 +65,7 @@ Bearer token and basic auth are mutually exclusive.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-config-set.1
Expand Up @@ -25,7 +25,7 @@ PROPERTY\_VALUE is the new value you wish to set.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-config-unset.1
Expand Up @@ -24,7 +24,7 @@ PROPERTY\_NAME is a dot delimited name where each token represents either a attr

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-config-use-context.1
Expand Up @@ -23,7 +23,7 @@ Sets the current\-context in a kubeconfig file

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-config-view.1
Expand Up @@ -44,7 +44,7 @@ You can use \-\-output jsonpath={...} to extract specific values using a jsonpat

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

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

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
8 changes: 4 additions & 4 deletions docs/man/man1/kubectl-config.1
Expand Up @@ -17,9 +17,9 @@ config modifies kubeconfig files using subcommands like "kubectl config set curr

.PP
The loading order follows these rules:
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.
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.
3. Otherwise, ${HOME}/.kube/config is used and no merging takes place.
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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an auto generated change. Not sure why the spacing is removed.

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.
3. Otherwise, ${HOME}/.kube/config is used and no merging takes place.


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

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-convert.1
Expand Up @@ -47,7 +47,7 @@ to change to output destination.

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

.PP
\fB\-\-schema\-cache\-dir\fP="\~/.kube/schema"
Expand Down Expand Up @@ -82,7 +82,7 @@ to change to output destination.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-cordon.1
Expand Up @@ -23,7 +23,7 @@ Mark node as unschedulable.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-create-configmap.1
Expand Up @@ -57,7 +57,7 @@ symlinks, devices, pipes, etc).

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

.PP
\fB\-\-save\-config\fP=false
Expand Down Expand Up @@ -96,7 +96,7 @@ symlinks, devices, pipes, etc).

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-create-namespace.1
Expand Up @@ -37,7 +37,7 @@ Create a namespace with the specified name.

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

.PP
\fB\-\-save\-config\fP=false
Expand Down Expand Up @@ -76,7 +76,7 @@ Create a namespace with the specified name.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-create-secret-docker-registry.1
Expand Up @@ -68,7 +68,7 @@ by creating a dockercfg secret and attaching it to your service account.

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

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

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-create-secret-generic.1
Expand Up @@ -57,7 +57,7 @@ symlinks, devices, pipes, etc).

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

.PP
\fB\-\-save\-config\fP=false
Expand Down Expand Up @@ -100,7 +100,7 @@ symlinks, devices, pipes, etc).

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-create-secret.1
Expand Up @@ -23,7 +23,7 @@ Create a secret using specified subcommand.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-create-serviceaccount.1
Expand Up @@ -37,7 +37,7 @@ Create a service account with the specified name.

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

.PP
\fB\-\-save\-config\fP=false
Expand Down Expand Up @@ -76,7 +76,7 @@ Create a service account with the specified name.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-create.1
Expand Up @@ -52,7 +52,7 @@ JSON and YAML formats are accepted.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-delete.1
Expand Up @@ -68,7 +68,7 @@ will be lost along with the rest of the resource.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-describe.1
Expand Up @@ -51,7 +51,7 @@ endpoints (ep) or secrets.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-drain.1
Expand Up @@ -51,7 +51,7 @@ will make the node schedulable again.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-edit.1
Expand Up @@ -48,7 +48,7 @@ saved copy to include the latest resource version.

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

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

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-exec.1
Expand Up @@ -41,7 +41,7 @@ Execute a command in a container.

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/kubectl-explain.1
Expand Up @@ -36,7 +36,7 @@ or endpoints (ep).

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/kubectl-expose.1
Expand Up @@ -73,7 +73,7 @@ if no labels are specified, the new service will re\-use the labels from the res

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

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

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

.PP
\fB\-\-certificate\-authority\fP=""
Expand Down