From 5b1d4d64e0b58412fcbaec6c791172c69e530b48 Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Wed, 13 Dec 2017 17:55:55 -0800 Subject: [PATCH] Update kubectl commands for 1.9 (#6635) --- .../generated/kubectl/kubectl-commands.html | 976 ++++++++++++------ docs/reference/generated/kubectl/navData.js | 2 +- 2 files changed, 635 insertions(+), 343 deletions(-) diff --git a/docs/reference/generated/kubectl/kubectl-commands.html b/docs/reference/generated/kubectl/kubectl-commands.html index dce1f8eb59def..9ceec9a44cbfb 100644 --- a/docs/reference/generated/kubectl/kubectl-commands.html +++ b/docs/reference/generated/kubectl/kubectl-commands.html @@ -11,7 +11,7 @@ - +
  • example

GETTING STARTED

@@ -89,6 +89,307 @@

run

Create and run a particular image, possibly replicated.

Creates a deployment or job to manage the created container(s).

Usage

+

$ run NAME --image=image [--env="key=value"] [--port=port] [--replicas=replicas] [--dry-run=bool] [--overrides=inline-json] [--command] -- [COMMAND] [args...]

+

Flags

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameShorthandDefaultUsage
allow-missing-template-keystrueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
attachfalseIf true, wait for the Pod to start running, and then attach to the Pod as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true. With '--restart=Never' the exit code of the container process is returned.
commandfalseIf true and extra arguments are present, use them as the 'command' field in the container, rather than the 'args' field which is the default.
dry-runfalseIf true, only print the object that would be sent, without sending it.
env[]Environment variables to set in the container
exposefalseIf true, a public, external service is created for the container(s) which are run
generatorThe name of the API generator to use, see http://kubernetes.io/docs/user-guide/kubectl-conventions/#generators for a list.
hostport-1The host port mapping for the container port. To demonstrate a single-machine container.
imageThe image for the container to run.
image-pull-policyThe image pull policy for the container. If left empty, this value will not be specified by the client and defaulted by the server
include-extended-apistrueIf true, include definitions of new APIs via calls to the API server. [default true]
labelslComma separated labels to apply to the pod(s). Will override previous values.
leave-stdin-openfalseIf the pod is started in interactive mode or with stdin, leave stdin open after the first attach completes. By default, stdin will be closed after the first attach completes.
limitsThe resource requirement limits for this container. For example, 'cpu=200m,memory=512Mi'. Note that server side components may assign limits depending on the server configuration, such as limit ranges.
no-headersfalseWhen using the default or custom-column output format, don't print headers (default print headers).
outputoOutput format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath].
output-versionDEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob').
overridesAn inline JSON override for the generated object. If this is non-empty, it is used to override the generated object. Requires that the object supply a valid apiVersion field.
pod-running-timeout1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running
portThe port that this container exposes. If --expose is true, this is also the port used by the service that is created.
quietfalseIf true, suppress prompt messages.
recordfalseRecord current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.
replicasr1Number of replicas to create for this container. Default is 1.
requestsThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. Note that server side components may assign requests depending on the server configuration, such as limit ranges.
restartAlwaysThe restart policy for this Pod. Legal values [Always, OnFailure, Never]. If set to 'Always' a deployment is created, if set to 'OnFailure' a job is created, if set to 'Never', a regular pod is created. For the latter two --replicas must be 1. Default 'Always', for CronJobs Never.
rmfalseIf true, delete resources created in this command for attached containers.
save-configfalseIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
scheduleA schedule in the Cron format the job should be run with.
service-generatorservice/v2The name of the generator to use for creating a service. Only used if --expose is true
service-overridesAn inline JSON override for the generated service object. If this is non-empty, it is used to override the generated object. Requires that the object supply a valid apiVersion field. Only used if --expose is true.
serviceaccountService account to set in the pod spec
show-allafalseWhen printing, show all resources (default hide terminated pods.)
show-labelsfalseWhen printing, show all labels as the last column (default hide labels column)
sort-byIf non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.
stdinifalseKeep stdin open on the container(s) in the pod, even if nothing is attached.
templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
ttytfalseAllocated a TTY for each container in the pod.
+
+

run-container

+
+

Start a single instance of nginx.

+
+
kubectl run nginx --image=nginx
+
+
+

Start a single instance of hazelcast and let the container expose port 5701 .

+
+
kubectl run hazelcast --image=hazelcast --port=5701
+
+
+

Start a single instance of hazelcast and set environment variables "DNS_DOMAIN=cluster" and "POD_NAMESPACE=default" in the container.

+
+
kubectl run hazelcast --image=hazelcast --env="DNS_DOMAIN=cluster" --env="POD_NAMESPACE=default"
+
+
+

Start a single instance of hazelcast and set labels "app=hazelcast" and "env=prod" in the container.

+
+
kubectl run hazelcast --image=nginx --labels="app=hazelcast,env=prod"
+
+
+

Start a replicated instance of nginx.

+
+
kubectl run nginx --image=nginx --replicas=5
+
+
+

Dry run. Print the corresponding API objects without creating them.

+
+
kubectl run nginx --image=nginx --dry-run
+
+
+

Start a single instance of nginx, but overload the spec of the deployment with a partial set of values parsed from JSON.

+
+
kubectl run nginx --image=nginx --overrides='{ "apiVersion": "v1", "spec": { ... } }'
+
+
+

Start a pod of busybox and keep it in the foreground, don't restart it if it exits.

+
+
kubectl run -i -t busybox --image=busybox --restart=Never
+
+
+

Start the nginx container using the default command, but use custom arguments (arg1 .. argN) for that command.

+
+
kubectl run nginx --image=nginx -- <arg1> <arg2> ... <argN>
+
+
+

Start the nginx container using a different command and custom arguments.

+
+
kubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN>
+
+
+

Start the perl container to compute π to 2000 places and print it out.

+
+
kubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'
+
+
+

Start the cron job to compute π to 2000 places and print it out every 5 minutes.

+
+
kubectl run pi --schedule="0/5 * * * ?" --image=perl --restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'
+
+

Create and run a particular image, possibly replicated.

+

Creates a deployment or job to manage the created container(s).

+

Usage

$ run-container

Flags

@@ -539,7 +840,7 @@

Flags

- +
type Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is 'ClusterIP'. Type for this service: ClusterIP, NodePort, LoadBalancer, or ExternalName. Default is 'ClusterIP'.
@@ -578,20 +879,15 @@

annotate

kubectl annotate pods foo description-
 
-

Update the annotations on one or more resources.

-
    -
  • An annotation is a key/value pair that can hold larger (compared to a label), and possibly not human-readable, data.
  • -
  • It is intended to store non-identifying auxiliary data, especially data manipulated by tools and system extensions.
  • -
  • If --overwrite is true, then existing annotations can be overwritten, otherwise attempting to overwrite an annotation will result in an error.
  • -
  • If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.
  • -
+

Update the annotations on one or more resources

+

All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.

+

Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.

Valid resource types include:

  • all
  • certificatesigningrequests (aka 'csr')
  • clusterrolebindings
  • clusterroles
  • -
  • clusters (valid only for federation apiservers)
  • componentstatuses (aka 'cs')
  • configmaps (aka 'cm')
  • controllerrevisions
  • @@ -623,8 +919,8 @@

    annotate

  • secrets
  • serviceaccounts (aka 'sa')
  • services (aka 'svc')
  • -
  • statefulsets
  • -
  • storageclasses
  • +
  • statefulsets (aka 'sts')
  • +
  • storageclasses (aka 'sc')

Usage

$ annotate [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version]

@@ -758,7 +1054,7 @@

Flags


autoscale

-

Auto scale a deployment "foo", with the number of pods between 2 and 10, target CPU utilization specified so a default autoscaling policy will be used:

+

Auto scale a deployment "foo", with the number of pods between 2 and 10, no target CPU utilization specified so a default autoscaling policy will be used:

kubectl autoscale deployment foo --min=2 --max=10
 
@@ -906,7 +1202,7 @@

convert

kubectl convert -f pod.yaml
 
-

Convert the live state of the resource specified by 'pod.yaml' to the latest version # and print to stdout in json format.

+

Convert the live state of the resource specified by 'pod.yaml' to the latest version # and print to stdout in JSON format.

kubectl convert -f pod.yaml --local -o json
 
@@ -962,12 +1258,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -986,12 +1276,6 @@

Flags

Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -1092,12 +1376,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -1110,6 +1388,12 @@

Flags

DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob'). +raw + + +Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. + + record false @@ -1128,12 +1412,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - selector l @@ -1243,12 +1521,6 @@

Flags

A partial url that user should have access to. -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -1279,12 +1551,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -1380,12 +1646,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -1404,12 +1664,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - serviceaccount [] @@ -1540,12 +1794,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -1564,12 +1812,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -1653,12 +1895,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -1677,12 +1913,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -1760,12 +1990,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -1784,12 +2008,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -1884,10 +2102,122 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation +output +o + +Output format. One of: json|yaml|wide|name|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See custom columns [http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns], golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://kubernetes.io/docs/user-guide/jsonpath]. + + +output-version + + +DEPRECATED: To use a specific API version, fully-qualify the resource, version, and group (for example: 'jobs.v1.batch/myjob'). + + +save-config + +false +If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. + + +selector + + +A label selector to use for this budget. Only equality-based selector requirements are supported. + + +show-all +a +false +When printing, show all resources (default hide terminated pods.) + + +show-labels + +false +When printing, show all labels as the last column (default hide labels column) + + +sort-by + + +If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string. + + +template + + +Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]. + + +validate true -If true, use openapi rather than swagger for validation. +If true, use a schema to validate the input before sending it + + + +
+

priorityclass

+
+

Create a priorityclass named high-priority

+
+
kubectl create priorityclass default-priority --value=1000 --description="high priority"
+
+
+

Create a priorityclass named default-priority that considered as the global default priority

+
+
kubectl create priorityclass default-priority --value=1000 --global-default=true --description="default priority"
+
+

Create a priorityclass with the specified name, value, globalDefault and description

+

Usage

+

$ priorityclass NAME --value=VALUE --global-default=BOOL [--dry-run]

+

Flags

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1908,18 +2238,6 @@

Flags

- - - - - - - - - - - - @@ -1949,6 +2267,12 @@

Flags

+ + + + + +
NameShorthandDefaultUsage
allow-missing-template-keystrueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
descriptiondescription is an arbitrary string that usually provides guidelines on when this priority class should be used.
dry-runfalseIf true, only print the object that would be sent, without sending it.
generatorpriorityclass/v1alpha1The name of the API generator to use.
global-defaultfalseglobal-default specifies whether this PriorityClass should be considered as the default priority.
no-headersfalseWhen using the default or custom-column output format, don't print headers (default print headers).
output If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
schema-cache-dir~/.kube/schemaIf non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema'
selectorA label selector to use for this budget. Only equality-based selector requirements are supported.
show-all a false true If true, use a schema to validate the input before sending it
value0the value of this priority class.

@@ -2008,12 +2332,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2032,12 +2350,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - scopes @@ -2130,12 +2442,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2166,12 +2472,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -2267,12 +2567,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2297,12 +2591,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - serviceaccount [] @@ -2354,9 +2642,9 @@

secret docker-registry

Create a new secret for use with Docker registries.

Dockercfg secrets are used to authenticate against Docker registries.

-

When using the Docker command line to push images, you can authenticate to a given registry by running

-

$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.

-

That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to authenticate to the registry. The email address is optional.

+

When using the Docker command line to push images, you can authenticate to a given registry by running: '$ docker login DOCKER REGISTRY SERVER --username=DOCKER USER --password=DOCKER PASSWORD --email=DOCKER _EMAIL'.

+

That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to

+

authenticate to the registry. The email address is optional.

When creating applications, you may have a Docker registry that requires authentication. In order for the nodes to pull images on your behalf, they have to have the credentials. You can provide this information by creating a dockercfg secret and attaching it to your service account.

Usage

$ docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-literal=key1=value1] [--dry-run]

@@ -2432,12 +2720,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2456,12 +2738,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -2511,14 +2787,19 @@

secret generic

kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret
 
+

Create a new secret named my-secret using a combination of a file and a literal

+
+
kubectl create secret generic my-secret --from-file=ssh-privatekey=~/.ssh/id_rsa --from-literal=passphrase=topsecret
+
+

Create a new secret named my-secret from an env file

kubectl create secret generic my-secret --from-env-file=path/to/bar.env
 

Create a secret based on a file, directory, or specified literal value.

A single secret may package one or more key/value pairs.

-

When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key, you may specify an alternate key.

-

When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).

+

When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.

+

When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).

Usage

$ generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run]

Flags

@@ -2581,12 +2862,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2605,12 +2880,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -2713,12 +2982,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2737,12 +3000,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -2782,16 +3039,16 @@

Usage


service clusterip

-

Create a new clusterIP service named my-cs

+

Create a new ClusterIP service named my-cs

kubectl create service clusterip my-cs --tcp=5678:8080
 
-

Create a new clusterIP service named my-cs (in headless mode)

+

Create a new ClusterIP service named my-cs (in headless mode)

kubectl create service clusterip my-cs --clusterip="None"
 
-

Create a clusterIP service with the specified name.

+

Create a ClusterIP service with the specified name.

Usage

$ clusterip NAME [--tcp=<port>:<targetPort>] [--dry-run]

Flags

@@ -2836,12 +3093,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2860,12 +3111,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -2956,12 +3201,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -2980,12 +3219,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -3069,12 +3302,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -3093,12 +3320,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -3139,11 +3360,11 @@

Flags


service nodeport

-

Create a new nodeport service named my-ns

+

Create a new NodePort service named my-ns

kubectl create service nodeport my-ns --tcp=5678:8080
 
-

Create a nodeport service with the specified name.

+

Create a NodePort service with the specified name.

Usage

$ nodeport NAME [--tcp=port:targetPort] [--dry-run]

Flags

@@ -3188,12 +3409,6 @@

Flags

Port used to expose the service on each node in a cluster. -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -3212,12 +3427,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -3307,12 +3516,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -3331,12 +3534,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -3563,12 +3760,6 @@

Flags

If true, the kubectl command applies to uninitialized objects. If explicitly set to false, this flag overrides other flags that make the kubectl commands apply to uninitialized objects, e.g., "--all". Objects with empty metadata.initializers are regarded as initialized. -openapi-validation - -true -If true, use openapi rather than swagger for validation - - output o yaml @@ -3599,12 +3790,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - validate true @@ -3665,14 +3850,16 @@

get

kubectl get all
 
-

Display one or many resources.

+

Display one or many resources

+

Prints a table of the most important information about the specified resources. You can filter the list using a label selector and the --selector flag. If the desired resource type is namespaced you will only see results in your current namespace unless you pass --all-namespaces.

+

This command will hide resources that have completed, such as pods that are in the Succeeded or Failed phases. You can see the full results for any resource by providing the --show-all flag. Uninitialized objects are not shown unless --include-uninitialized is passed.

+

By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.

Valid resource types include:

  • all
  • certificatesigningrequests (aka 'csr')
  • clusterrolebindings
  • clusterroles
  • -
  • clusters (valid only for federation apiservers)
  • componentstatuses (aka 'cs')
  • configmaps (aka 'cm')
  • controllerrevisions
  • @@ -3704,11 +3891,9 @@

    get

  • secrets
  • serviceaccounts (aka 'sa')
  • services (aka 'svc')
  • -
  • statefulsets
  • -
  • storageclasses
  • +
  • statefulsets (aka 'sts')
  • +
  • storageclasses (aka 'sc')
-

This command will hide resources that have completed, such as pods that are in the Succeeded or Failed phases. You can see the full results for any resource by providing the '--show-all' flag, but this flag does not include the uninitialized objects by default, unless '--include-uninitialized' is explicitly set.

-

By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.

Usage

$ get [(-o|--output=)json|yaml|wide|custom-columns=...|custom-columns-file=...|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=...] (TYPE [NAME | -l label] | TYPE/NAME ...) [flags]

Flags

@@ -3735,10 +3920,10 @@

Flags

If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. -experimental-use-openapi-print-columns +chunk-size -false -If true, use x-kubernetes-print-column metadata (if present) from openapi schema for displaying a resource. +500 +Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future. export @@ -3747,6 +3932,12 @@

Flags

If true, use 'export' for the resources. Exported resources are stripped of cluster-specific information. +field-selector + + +Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type. + + filename f [] @@ -3756,7 +3947,7 @@

Flags

ignore-not-found false -Treat "resource not found" as a successful retrieval. +If the requested object does not exist the command will return exit code 0. include-extended-apis @@ -3843,6 +4034,12 @@

Flags

Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]. +use-openapi-print-columns + +true +If true, use x-kubernetes-print-column metadata (if present) from the OpenAPI schema for displaying a resource. + + watch w false @@ -3890,7 +4087,8 @@

label

Update the labels on a resource.

    -
  • A label must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.
  • +
  • A label key and value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.
  • +
  • Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app
  • If --overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.
  • If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.
@@ -3944,6 +4142,12 @@

Flags

If true, the kubectl command applies to uninitialized objects. If explicitly set to false, this flag overrides other flags that make the kubectl commands apply to uninitialized objects, e.g., "--all". Objects with empty metadata.initializers are regarded as initialized. +list + +false +If true, display the labels for a given resource. + + local false @@ -4026,26 +4230,31 @@

Flags


patch

-

Partially update a node using strategic merge patch

+

Partially update a node using a strategic merge patch. Specify the patch as JSON.

kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'
 
-

Partially update a node identified by the type and name specified in "node.json" using strategic merge patch

+

Partially update a node using a strategic merge patch. Specify the patch as YAML.

+
+
kubectl patch node k8s-node-1 -p $'spec:\n unschedulable: true'
+
+
+

Partially update a node identified by the type and name specified in "node.json" using strategic merge patch.

kubectl patch -f node.json -p '{"spec":{"unschedulable":true}}'
 
-

Update a container's image; spec.containers[*].name is required because it's a merge key

+

Update a container's image; spec.containers[*].name is required because it's a merge key.

kubectl patch pod valid-pod -p '{"spec":{"containers":[{"name":"kubernetes-serve-hostname","image":"new image"}]}}'
 
-

Update a container's image using a json patch with positional arrays

+

Update a container's image using a json patch with positional arrays.

kubectl patch pod valid-pod --type='json' -p='[{"op": "replace", "path": "/spec/containers/0/image", "value":"new image"}]'
 
-

Update field(s) of a resource using strategic merge patch

+

Update field(s) of a resource using strategic merge patch, a JSON merge patch, or a JSON patch.

JSON and YAML formats are accepted.

Please refer to the models in https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions.html to find if a field is mutable.

Usage

@@ -4223,12 +4432,6 @@

Flags

If true, include definitions of new APIs via calls to the API server. [default true] -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -4253,12 +4456,6 @@

Flags

If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - timeout 0s @@ -4370,12 +4567,6 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -4400,12 +4591,6 @@

Flags

If true, this is a request to abort an existing rollout that is partially rolled out. It effectively reverses current and next and runs a rollout -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - show-all a false @@ -4737,6 +4922,12 @@

Flags

+all + +false +Select all resources in the namespace of the specified resource types + + current-replicas -1 @@ -4785,6 +4976,12 @@

Flags

Precondition for resource version. Requires that the current resource version match this value in order to scale. +selector +l + +Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2) + + timeout 0s @@ -4828,12 +5025,12 @@

env

Import environment from a secret

-
kubectl set env --from=secret/mysecret dc/myapp
+
kubectl set env --from=secret/mysecret deployment/myapp
 

Import environment from a config map with a prefix

-
kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ dc/myapp
+
kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ deployment/myapp
 

Remove the environment variable ENV from container 'c1' in all deployment configs

@@ -4848,7 +5045,7 @@

env

Set some of the local shell environment into a deployment config on the server

-
env | grep RAILS_ | kubectl set env -e - dc/registry
+
env | grep RAILS_ | kubectl set env -e - deployment/registry
 

Update environment variables on a pod template.

List environment variable definitions in one or more pods, pod templates. Add, update, or remove container environment variable definitions in one or more pod templates (within replication controllers or deployment configurations). View or modify the environment variable definitions on all containers in the specified pods or pod templates, or just those that match a wildcard.

@@ -4920,7 +5117,7 @@

Flags

local false -If true, set image will NOT contact api-server but run locally. +If true, set env will NOT contact api-server but run locally. no-headers @@ -5469,7 +5666,7 @@

Flags

local false -If true, set image will NOT contact api-server but run locally. +If true, set serviceaccount will NOT contact api-server but run locally. no-headers @@ -5598,7 +5795,7 @@

Flags

local false -If true, set resources will NOT contact api-server but run locally. +If true, set subject will NOT contact api-server but run locally. no-headers @@ -5762,10 +5959,10 @@

Flags

When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation +openapi-patch true -If true, use openapi rather than swagger for validation. +If true, use openapi to calculate diff when the openapi presents and the resource can be found in the openapi spec. Otherwise, fall back to use baked-in types. output @@ -5810,12 +6007,6 @@

Flags

Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - selector l @@ -6393,16 +6584,16 @@

describe

kubectl describe pods frontend
 
-

Show details of a specific resource or group of resources. It includes the uninitialized objects, unless --include-uninitialized=false is explicitly set. This command joins many API calls together to form a detailed description of a given resource or group of resources.

+

Show details of a specific resource or group of resources

+

Print a detailed description of the selected resources, including related resources such as events or controllers. You may select a single object by name, all objects of that type, provide a name prefix, or label selector. For example:

$ kubectl describe TYPE NAME_PREFIX

-

will first check for an exact match on TYPE and NAME PREFIX. If no such resource exists, it will output details for every resource that has a name prefixed with NAME PREFIX.

+

will first check for an exact match on TYPE and NAME PREFIX. If no such resource exists, it will output details for every resource that has a name prefixed with NAME PREFIX.

Valid resource types include:

  • all
  • certificatesigningrequests (aka 'csr')
  • clusterrolebindings
  • clusterroles
  • -
  • clusters (valid only for federation apiservers)
  • componentstatuses (aka 'cs')
  • configmaps (aka 'cm')
  • controllerrevisions
  • @@ -6434,8 +6625,8 @@

    describe

  • secrets
  • serviceaccounts (aka 'sa')
  • services (aka 'svc')
  • -
  • statefulsets
  • -
  • storageclasses
  • +
  • statefulsets (aka 'sts')
  • +
  • storageclasses (aka 'sc')

Usage

$ describe (-f FILENAME | TYPE [NAME_PREFIX | -l label] | TYPE/NAME)

@@ -7180,6 +7371,31 @@

cordon

Mark node as unschedulable.

Usage

$ cordon NODE

+

Flags

+ + + + + + + + + + + + + + + + + + + + + + + +
NameShorthandDefaultUsage
dry-runfalseIf true, only print the object that would be sent, without sending it.
selectorlSelector (label query) to filter on

drain

@@ -7217,6 +7433,12 @@

Flags

Continue even if there are pods using emptyDir (local data that will be deleted when the node is drained). +dry-run + +false +If true, only print the object that would be sent, without sending it. + + force false @@ -7235,6 +7457,12 @@

Flags

Ignore DaemonSet-managed pods. +selector +l + +Selector (label query) to filter on + + timeout 0s @@ -7268,6 +7496,7 @@

taint

  • A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect.
  • The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 253 characters.
  • +
  • Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app
  • The value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.
  • The effect must be NoSchedule, PreferNoSchedule or NoExecute.
  • Currently taint can only apply to node.
  • @@ -7310,12 +7539,6 @@

    Flags

    When using the default or custom-column output format, don't print headers (default print headers). -openapi-validation - -true -If true, use openapi rather than swagger for validation. - - output o @@ -7334,12 +7557,6 @@

    Flags

    If true, allow taints to be overwritten, otherwise reject taint updates that overwrite existing taints. -schema-cache-dir - -~/.kube/schema -If non-empty, load/store cached API schemas in this directory, default is '$HOME/.kube/schema' - - selector l @@ -7387,6 +7604,31 @@

    uncordon

    Mark node as schedulable.

    Usage

    $ uncordon NODE

    +

    Flags

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameShorthandDefaultUsage
    dry-runfalseIf true, only print the object that would be sent, without sending it.
    selectorlSelector (label query) to filter on

    KUBECTL SETTINGS AND USAGE


    alpha

    @@ -7394,6 +7636,54 @@

    alpha

    Usage

    $ alpha


    +

    diff

    +
    +

    Diff resources included in pod.json. By default, it will diff LOCAL and LIVE versions

    +
    +
    kubectl alpha diff -f pod.json
    +
    +
    +

    When one version is specified, diff that version against LIVE

    +
    +
    cat service.yaml | kubectl alpha diff -f - MERGED
    +
    +
    +

    Or specify both versions

    +
    +
    kubectl alpha diff -f pod.json -f service.yaml LAST LOCAL
    +
    +

    Diff configurations specified by filename or stdin between their local, last-applied, live and/or "merged" versions.

    +

    LOCAL and LIVE versions are diffed by default. Other availble keywords are MERGED and LAST.

    +

    Output is always YAML.

    +

    KUBERNETES EXTERNAL DIFF environment variable can be used to select your own diff command. By default, the "diff" command available in your path will be run with "-u" (unicode) and "-N" (treat new files as empty) options.

    +

    Usage

    +

    $ diff -f FILENAME

    +

    Flags

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameShorthandDefaultUsage
    filenamef[]Filename, directory, or URL to files contains the configuration to diff
    recursiveRfalseProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
    +

    completion

    Installing bash completion on macOS using homebrew ## If running Bash 3.2 included with macOS

    @@ -7547,7 +7837,7 @@

    rename-context

    kubectl config rename-context old-name new-name
     
    -

    Renames a context from the kubeconfig file .

    +

    Renames a context from the kubeconfig file.

    CONTEXT _NAME is the context name that you wish change.

    NEW _NAME is the new name you wish to set.

    Note: In case the context being renamed is the 'current-context', this field will also be updated.

    @@ -7833,14 +8123,16 @@

    explain

kubectl explain pods.spec.containers
 
-

Documentation of resources.

+

List the fields for supported resources

+

This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier:

+

.[.]

+

Add the --recursive flag to display all of the fields at once without descriptions. Information about each field is retrieved from the server in OpenAPI format.

Valid resource types include:

  • all
  • certificatesigningrequests (aka 'csr')
  • clusterrolebindings
  • clusterroles
  • -
  • clusters (valid only for federation apiservers)
  • componentstatuses (aka 'cs')
  • configmaps (aka 'cm')
  • controllerrevisions
  • @@ -7872,8 +8164,8 @@

    explain

  • secrets
  • serviceaccounts (aka 'sa')
  • services (aka 'svc')
  • -
  • statefulsets
  • -
  • storageclasses
  • +
  • statefulsets (aka 'sts')
  • +
  • storageclasses (aka 'sc')

Usage

$ explain RESOURCE

diff --git a/docs/reference/generated/kubectl/navData.js b/docs/reference/generated/kubectl/navData.js index 60a00ffbfbec5..f573dcb00ef66 100644 --- a/docs/reference/generated/kubectl/navData.js +++ b/docs/reference/generated/kubectl/navData.js @@ -1 +1 @@ -(function(){navData = {"toc":[{"section":"-strong-deprecated-commands-strong-","subsections":[]},{"section":"plugin","subsections":[]},{"section":"version","subsections":[]},{"section":"options","subsections":[]},{"section":"explain","subsections":[]},{"section":"config","subsections":[{"section":"-em-view-em-"},{"section":"-em-use-context-em-"},{"section":"-em-unset-em-"},{"section":"-em-set-credentials-em-"},{"section":"-em-set-context-em-"},{"section":"-em-set-cluster-em-"},{"section":"-em-set-em-"},{"section":"-em-rename-context-em-"},{"section":"-em-get-contexts-em-"},{"section":"-em-get-clusters-em-"},{"section":"-em-delete-context-em-"},{"section":"-em-delete-cluster-em-"},{"section":"-em-current-context-em-"}]},{"section":"completion","subsections":[]},{"section":"alpha","subsections":[]},{"section":"-strong-kubectl-settings-and-usage-strong-","subsections":[]},{"section":"uncordon","subsections":[]},{"section":"taint","subsections":[]},{"section":"drain","subsections":[]},{"section":"cordon","subsections":[]},{"section":"cluster-info","subsections":[{"section":"-em-dump-em-"}]},{"section":"certificate","subsections":[{"section":"-em-deny-em-"},{"section":"-em-approve-em-"}]},{"section":"api-versions","subsections":[]},{"section":"-strong-cluster-management-strong-","subsections":[]},{"section":"top","subsections":[{"section":"-em-pod-em-"},{"section":"-em-node-em-"}]},{"section":"proxy","subsections":[]},{"section":"port-forward","subsections":[]},{"section":"logs","subsections":[]},{"section":"exec","subsections":[]},{"section":"describe","subsections":[]},{"section":"cp","subsections":[]},{"section":"auth","subsections":[{"section":"-em-reconcile-em-"},{"section":"-em-can-i-em-"}]},{"section":"attach","subsections":[]},{"section":"-strong-working-with-apps-strong-","subsections":[]},{"section":"apply","subsections":[{"section":"-em-view-last-applied-em-"},{"section":"-em-set-last-applied-em-"},{"section":"-em-edit-last-applied-em-"}]},{"section":"-strong-declarative-app-management-strong-","subsections":[]},{"section":"set","subsections":[{"section":"-em-subject-em-"},{"section":"-em-serviceaccount-em--1"},{"section":"-em-selector-em-"},{"section":"-em-resources-em-"},{"section":"-em-image-em-"},{"section":"-em-env-em-"}]},{"section":"scale","subsections":[]},{"section":"rollout","subsections":[{"section":"-em-undo-em-"},{"section":"-em-status-em-"},{"section":"-em-resume-em-"},{"section":"-em-pause-em-"},{"section":"-em-history-em-"}]},{"section":"rolling-update","subsections":[]},{"section":"replace","subsections":[]},{"section":"patch","subsections":[]},{"section":"label","subsections":[]},{"section":"get","subsections":[]},{"section":"edit","subsections":[]},{"section":"delete","subsections":[]},{"section":"create","subsections":[{"section":"-em-serviceaccount-em-"},{"section":"-em-service-nodeport-em-"},{"section":"-em-service-loadbalancer-em-"},{"section":"-em-service-externalname-em-"},{"section":"-em-service-clusterip-em-"},{"section":"-em-service-em-"},{"section":"-em-secret-tls-em-"},{"section":"-em-secret-generic-em-"},{"section":"-em-secret-docker-registry-em-"},{"section":"-em-secret-em-"},{"section":"-em-rolebinding-em-"},{"section":"-em-role-em-"},{"section":"-em-quota-em-"},{"section":"-em-poddisruptionbudget-em-"},{"section":"-em-namespace-em-"},{"section":"-em-deployment-em-"},{"section":"-em-configmap-em-"},{"section":"-em-clusterrolebinding-em-"},{"section":"-em-clusterrole-em-"}]},{"section":"convert","subsections":[]},{"section":"autoscale","subsections":[]},{"section":"annotate","subsections":[]},{"section":"-strong-app-management-strong-","subsections":[]},{"section":"expose","subsections":[]},{"section":"run","subsections":[]},{"section":"-strong-getting-started-strong-","subsections":[]}],"flatToc":["-strong-deprecated-commands-strong-","plugin","version","options","explain","-em-view-em-","-em-use-context-em-","-em-unset-em-","-em-set-credentials-em-","-em-set-context-em-","-em-set-cluster-em-","-em-set-em-","-em-rename-context-em-","-em-get-contexts-em-","-em-get-clusters-em-","-em-delete-context-em-","-em-delete-cluster-em-","-em-current-context-em-","config","completion","alpha","-strong-kubectl-settings-and-usage-strong-","uncordon","taint","drain","cordon","-em-dump-em-","cluster-info","-em-deny-em-","-em-approve-em-","certificate","api-versions","-strong-cluster-management-strong-","-em-pod-em-","-em-node-em-","top","proxy","port-forward","logs","exec","describe","cp","-em-reconcile-em-","-em-can-i-em-","auth","attach","-strong-working-with-apps-strong-","-em-view-last-applied-em-","-em-set-last-applied-em-","-em-edit-last-applied-em-","apply","-strong-declarative-app-management-strong-","-em-subject-em-","-em-serviceaccount-em--1","-em-selector-em-","-em-resources-em-","-em-image-em-","-em-env-em-","set","scale","-em-undo-em-","-em-status-em-","-em-resume-em-","-em-pause-em-","-em-history-em-","rollout","rolling-update","replace","patch","label","get","edit","delete","-em-serviceaccount-em-","-em-service-nodeport-em-","-em-service-loadbalancer-em-","-em-service-externalname-em-","-em-service-clusterip-em-","-em-service-em-","-em-secret-tls-em-","-em-secret-generic-em-","-em-secret-docker-registry-em-","-em-secret-em-","-em-rolebinding-em-","-em-role-em-","-em-quota-em-","-em-poddisruptionbudget-em-","-em-namespace-em-","-em-deployment-em-","-em-configmap-em-","-em-clusterrolebinding-em-","-em-clusterrole-em-","create","convert","autoscale","annotate","-strong-app-management-strong-","expose","run","-strong-getting-started-strong-"]};})(); \ No newline at end of file +(function(){navData = {"toc":[{"section":"-strong-deprecated-commands-strong-","subsections":[]},{"section":"plugin","subsections":[]},{"section":"version","subsections":[]},{"section":"options","subsections":[]},{"section":"explain","subsections":[]},{"section":"config","subsections":[{"section":"-em-view-em-"},{"section":"-em-use-context-em-"},{"section":"-em-unset-em-"},{"section":"-em-set-credentials-em-"},{"section":"-em-set-context-em-"},{"section":"-em-set-cluster-em-"},{"section":"-em-set-em-"},{"section":"-em-rename-context-em-"},{"section":"-em-get-contexts-em-"},{"section":"-em-get-clusters-em-"},{"section":"-em-delete-context-em-"},{"section":"-em-delete-cluster-em-"},{"section":"-em-current-context-em-"}]},{"section":"completion","subsections":[]},{"section":"alpha","subsections":[{"section":"-em-diff-em-"}]},{"section":"-strong-kubectl-settings-and-usage-strong-","subsections":[]},{"section":"uncordon","subsections":[]},{"section":"taint","subsections":[]},{"section":"drain","subsections":[]},{"section":"cordon","subsections":[]},{"section":"cluster-info","subsections":[{"section":"-em-dump-em-"}]},{"section":"certificate","subsections":[{"section":"-em-deny-em-"},{"section":"-em-approve-em-"}]},{"section":"api-versions","subsections":[]},{"section":"-strong-cluster-management-strong-","subsections":[]},{"section":"top","subsections":[{"section":"-em-pod-em-"},{"section":"-em-node-em-"}]},{"section":"proxy","subsections":[]},{"section":"port-forward","subsections":[]},{"section":"logs","subsections":[]},{"section":"exec","subsections":[]},{"section":"describe","subsections":[]},{"section":"cp","subsections":[]},{"section":"auth","subsections":[{"section":"-em-reconcile-em-"},{"section":"-em-can-i-em-"}]},{"section":"attach","subsections":[]},{"section":"-strong-working-with-apps-strong-","subsections":[]},{"section":"apply","subsections":[{"section":"-em-view-last-applied-em-"},{"section":"-em-set-last-applied-em-"},{"section":"-em-edit-last-applied-em-"}]},{"section":"-strong-declarative-app-management-strong-","subsections":[]},{"section":"set","subsections":[{"section":"-em-subject-em-"},{"section":"-em-serviceaccount-em--1"},{"section":"-em-selector-em-"},{"section":"-em-resources-em-"},{"section":"-em-image-em-"},{"section":"-em-env-em-"}]},{"section":"scale","subsections":[]},{"section":"rollout","subsections":[{"section":"-em-undo-em-"},{"section":"-em-status-em-"},{"section":"-em-resume-em-"},{"section":"-em-pause-em-"},{"section":"-em-history-em-"}]},{"section":"rolling-update","subsections":[]},{"section":"replace","subsections":[]},{"section":"patch","subsections":[]},{"section":"label","subsections":[]},{"section":"get","subsections":[]},{"section":"edit","subsections":[]},{"section":"delete","subsections":[]},{"section":"create","subsections":[{"section":"-em-serviceaccount-em-"},{"section":"-em-service-nodeport-em-"},{"section":"-em-service-loadbalancer-em-"},{"section":"-em-service-externalname-em-"},{"section":"-em-service-clusterip-em-"},{"section":"-em-service-em-"},{"section":"-em-secret-tls-em-"},{"section":"-em-secret-generic-em-"},{"section":"-em-secret-docker-registry-em-"},{"section":"-em-secret-em-"},{"section":"-em-rolebinding-em-"},{"section":"-em-role-em-"},{"section":"-em-quota-em-"},{"section":"-em-priorityclass-em-"},{"section":"-em-poddisruptionbudget-em-"},{"section":"-em-namespace-em-"},{"section":"-em-deployment-em-"},{"section":"-em-configmap-em-"},{"section":"-em-clusterrolebinding-em-"},{"section":"-em-clusterrole-em-"}]},{"section":"convert","subsections":[]},{"section":"autoscale","subsections":[]},{"section":"annotate","subsections":[]},{"section":"-strong-app-management-strong-","subsections":[]},{"section":"expose","subsections":[]},{"section":"run-container","subsections":[]},{"section":"run","subsections":[]},{"section":"-strong-getting-started-strong-","subsections":[]}],"flatToc":["-strong-deprecated-commands-strong-","plugin","version","options","explain","-em-view-em-","-em-use-context-em-","-em-unset-em-","-em-set-credentials-em-","-em-set-context-em-","-em-set-cluster-em-","-em-set-em-","-em-rename-context-em-","-em-get-contexts-em-","-em-get-clusters-em-","-em-delete-context-em-","-em-delete-cluster-em-","-em-current-context-em-","config","completion","-em-diff-em-","alpha","-strong-kubectl-settings-and-usage-strong-","uncordon","taint","drain","cordon","-em-dump-em-","cluster-info","-em-deny-em-","-em-approve-em-","certificate","api-versions","-strong-cluster-management-strong-","-em-pod-em-","-em-node-em-","top","proxy","port-forward","logs","exec","describe","cp","-em-reconcile-em-","-em-can-i-em-","auth","attach","-strong-working-with-apps-strong-","-em-view-last-applied-em-","-em-set-last-applied-em-","-em-edit-last-applied-em-","apply","-strong-declarative-app-management-strong-","-em-subject-em-","-em-serviceaccount-em--1","-em-selector-em-","-em-resources-em-","-em-image-em-","-em-env-em-","set","scale","-em-undo-em-","-em-status-em-","-em-resume-em-","-em-pause-em-","-em-history-em-","rollout","rolling-update","replace","patch","label","get","edit","delete","-em-serviceaccount-em-","-em-service-nodeport-em-","-em-service-loadbalancer-em-","-em-service-externalname-em-","-em-service-clusterip-em-","-em-service-em-","-em-secret-tls-em-","-em-secret-generic-em-","-em-secret-docker-registry-em-","-em-secret-em-","-em-rolebinding-em-","-em-role-em-","-em-quota-em-","-em-priorityclass-em-","-em-poddisruptionbudget-em-","-em-namespace-em-","-em-deployment-em-","-em-configmap-em-","-em-clusterrolebinding-em-","-em-clusterrole-em-","create","convert","autoscale","annotate","-strong-app-management-strong-","expose","run-container","run","-strong-getting-started-strong-"]};})(); \ No newline at end of file