Skip to content

Commit 201062f

Browse files
authored
Update kubectl reference for v1.36.0 (#55508)
Gate failure is caused by something else.
1 parent 10baf0d commit 201062f

14 files changed

Lines changed: 97 additions & 357 deletions

File tree

content/en/docs/reference/kubectl/generated/kubectl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ kubectl [flags]
292292

293293
## {{% heading "seealso" %}}
294294

295-
* [kubectl alpha](../kubectl_alpha/) - Commands for features in alpha
296295
* [kubectl annotate](../kubectl_annotate/) - Update the annotations on a resource
297296
* [kubectl api-resources](../kubectl_api-resources/) - Print the supported API resources on the server
298297
* [kubectl api-versions](../kubectl_api-versions/) - Print the supported API versions on the server, in the form of "group/version"
@@ -318,6 +317,7 @@ kubectl [flags]
318317
* [kubectl explain](../kubectl_explain/) - Get documentation for a resource
319318
* [kubectl expose](../kubectl_expose/) - Take a replication controller, service, deployment or pod and expose it as a new Kubernetes service
320319
* [kubectl get](../kubectl_get/) - Display one or many resources
320+
* [kubectl kuberc](../kubectl_kuberc/) - Manage kuberc configuration files
321321
* [kubectl kustomize](../kubectl_kustomize/) - Build a kustomization target from a directory or URL
322322
* [kubectl label](../kubectl_label/) - Update the labels on a resource
323323
* [kubectl logs](../kubectl_logs/) - Print the logs for a container in a pod

content/en/docs/reference/kubectl/generated/kubectl_alpha/kubectl_alpha_kuberc.md

Lines changed: 0 additions & 325 deletions
This file was deleted.

content/en/docs/reference/kubectl/generated/kubectl_attach/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ kubectl attach (POD | TYPE/NAME) -c CONTAINER
6464
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Container name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen</p></td>
6565
</tr>
6666

67+
<tr>
68+
<td colspan="2">--detach-keys string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "ctrl-p,ctrl-q"</td>
69+
</tr>
70+
<tr>
71+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Override the key sequence for detaching a container</p></td>
72+
</tr>
73+
6774
<tr>
6875
<td colspan="2">-h, --help</td>
6976
</tr>

content/en/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,8 @@ kubectl create configmap NAME [--from-file=[key=]source] [--from-literal=key1=va
4747
# Create a new config map named my-config with key1=config1 and key2=config2
4848
kubectl create configmap my-config --from-literal=key1=config1 --from-literal=key2=config2
4949
50-
# Create a new config map named my-config from the key=value pairs in the file
51-
kubectl create configmap my-config --from-file=path/to/bar
52-
53-
# Create a new config map named my-config from an env file
54-
kubectl create configmap my-config --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env
50+
# Create a new config map named my-config with key=value pairs from an env file
51+
kubectl create configmap my-config --from-env-file=path/to/bar.env
5552
```
5653

5754
## {{% heading "options" %}}

content/en/docs/reference/kubectl/generated/kubectl_debug/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ kubectl debug (POD | TYPE[[.VERSION].GROUP]/NAME) [ -- COMMAND [args...] ]
192192
</tr>
193193

194194
<tr>
195-
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "legacy"</td>
195+
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "general"</td>
196196
</tr>
197197
<tr>
198-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Options are &quot;legacy&quot;, &quot;general&quot;, &quot;baseline&quot;, &quot;netadmin&quot;, &quot;restricted&quot; or &quot;sysadmin&quot;.</p></td>
198+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Options are &quot;general&quot;, &quot;baseline&quot;, &quot;restricted&quot;, &quot;netadmin&quot; or &quot;sysadmin&quot;. Defaults to &quot;general&quot;</p></td>
199199
</tr>
200200

201201
<tr>

content/en/docs/reference/kubectl/generated/kubectl_describe/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | -l label] | TYPE/NAME)
123123
<td colspan="2">--show-events&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: true</td>
124124
</tr>
125125
<tr>
126-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>If true, display events related to the described object.</p></td>
126+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>If true, display events related to the described object. Defaults to true for a single object, false for multiple objects and prefix matching.</p></td>
127127
</tr>
128128

129129
</tbody>

0 commit comments

Comments
 (0)