diff --git a/docs/reference/generated/kubectl/kubectl-commands.html b/docs/reference/generated/kubectl/kubectl-commands.html index a77cfaedbb..97b6efc8e8 100644 --- a/docs/reference/generated/kubectl/kubectl-commands.html +++ b/docs/reference/generated/kubectl/kubectl-commands.html @@ -11,7 +11,7 @@
- +Creates an autoscaler that automatically chooses and sets the number of pods that run in a kubernetes cluster.
Looks up a Deployment, ReplicaSet, or ReplicationController by name and creates an autoscaler that uses the given resource as a reference. An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.
$ autoscale (-f FILENAME | TYPE NAME | TYPE/NAME) [--min=MINPODS] --max=MAXPODS [--cpu-percent=CPU] [flags]
$ autoscale (-f FILENAME | TYPE NAME | TYPE/NAME) [--min=MINPODS] --max=MAXPODS [--cpu-percent=CPU]
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) |
| show-labels | @@ -1278,8 +1278,8 @@ viewing your workloads in a Kubernetes cluster.|||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) |
| show-labels | @@ -1420,8 +1420,8 @@ viewing your workloads in a Kubernetes cluster.|||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) |
| show-labels | @@ -1553,8 +1553,8 @@ viewing your workloads in a Kubernetes cluster.|||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) |
| show-labels | @@ -1672,8 +1672,8 @@ viewing your workloads in a Kubernetes cluster.|||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) |
| show-labels | @@ -1814,8 +1814,8 @@ viewing your workloads in a Kubernetes cluster.|||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) |
| show-labels | @@ -1915,8 +1915,97 @@ viewing your workloads in a Kubernetes cluster.|||||
| show-all | a | +true | +When printing, show all resources (default show all pods including terminated one.) | +||
| show-labels | +false | -When printing, show all resources (default hide terminated pods.) | +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 a schema to validate the input before sending it | +
++Create a job from a CronJob named "a-cronjob"
+
kubectl create job --from=cronjob/a-cronjob
+
+Create a job with the specified name.
+$ job NAME [--from-cronjob=CRONJOB]
| Name | +Shorthand | +Default | +Usage | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| allow-missing-template-keys | ++ | true | +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. | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from | ++ | + | The name of the resource to create a Job from (only cronjob is supported). | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| no-headers | ++ | false | +When using the default or custom-column output format, don't print headers (default print headers). | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | +a | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2010,8 +2099,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2128,8 +2217,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2240,8 +2329,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2358,8 +2447,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2474,8 +2563,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2599,8 +2688,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2740,8 +2829,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -2882,8 +2971,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3002,8 +3091,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3113,8 +3202,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3221,8 +3310,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3322,8 +3411,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3429,8 +3518,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3536,8 +3625,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -3852,7 +3941,7 @@ viewing your workloads in a Kubernetes cluster.Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| experimental-server-print | ++ | false | +If true, have the server return the appropriate table output. Supports extension APIs and CRD. Experimental. | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| export | false | @@ -4006,8 +4101,8 @@ viewing your workloads in a Kubernetes cluster.||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-kind | @@ -4204,8 +4299,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -4333,8 +4428,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -4593,8 +4688,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -4901,11 +4996,11 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -5306,8 +5401,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -5460,8 +5555,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -5581,8 +5676,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -5701,8 +5796,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -5836,8 +5931,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -6015,8 +6110,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -6200,8 +6295,8 @@ viewing your workloads in a Kubernetes cluster.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -6485,8 +6580,8 @@ applications.|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-all | a | -false | -When printing, show all resources (default hide terminated pods.) | +true | +When printing, show all resources (default show all pods including terminated one.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show-labels | @@ -6882,21 +6977,28 @@ applications.
| pod | -p | +pod-running-timeout | - | Pod name | +1m0s | +The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running |
++Unset the current-context.
+
kubectl config unset current-context
+
+++Unset namespace in foo context.
+
kubectl config unset contexts.foo.namespace
+
Unsets an individual value in a kubeconfig file
PROPERTY _NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.