mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Reword misleading help text for kubectl patch
This commit is contained in:
parent
18c74de9a8
commit
6868382072
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.PP
|
.PP
|
||||||
kubectl patch \- Update field(s) of a resource by stdin.
|
kubectl patch \- Update field(s) of a resource using strategic merge patch.
|
||||||
|
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -95,7 +95,7 @@ kubectl
|
|||||||
* [kubectl label](kubectl_label.md) - Update the labels on a resource
|
* [kubectl label](kubectl_label.md) - Update the labels on a resource
|
||||||
* [kubectl logs](kubectl_logs.md) - Print the logs for a container in a pod.
|
* [kubectl logs](kubectl_logs.md) - Print the logs for a container in a pod.
|
||||||
* [kubectl namespace](kubectl_namespace.md) - SUPERSEDED: Set and view the current Kubernetes namespace
|
* [kubectl namespace](kubectl_namespace.md) - SUPERSEDED: Set and view the current Kubernetes namespace
|
||||||
* [kubectl patch](kubectl_patch.md) - Update field(s) of a resource by stdin.
|
* [kubectl patch](kubectl_patch.md) - Update field(s) of a resource using strategic merge patch.
|
||||||
* [kubectl port-forward](kubectl_port-forward.md) - Forward one or more local ports to a pod.
|
* [kubectl port-forward](kubectl_port-forward.md) - Forward one or more local ports to a pod.
|
||||||
* [kubectl proxy](kubectl_proxy.md) - Run a proxy to the Kubernetes API server
|
* [kubectl proxy](kubectl_proxy.md) - Run a proxy to the Kubernetes API server
|
||||||
* [kubectl replace](kubectl_replace.md) - Replace a resource by filename or stdin.
|
* [kubectl replace](kubectl_replace.md) - Replace a resource by filename or stdin.
|
||||||
@ -105,7 +105,7 @@ kubectl
|
|||||||
* [kubectl stop](kubectl_stop.md) - Deprecated: Gracefully shut down a resource by name or filename.
|
* [kubectl stop](kubectl_stop.md) - Deprecated: Gracefully shut down a resource by name or filename.
|
||||||
* [kubectl version](kubectl_version.md) - Print the client and server version information.
|
* [kubectl version](kubectl_version.md) - Print the client and server version information.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 21-Oct-2015
|
###### Auto generated by spf13/cobra on 10-Nov-2015
|
||||||
|
|
||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||||
[]()
|
[]()
|
||||||
|
@ -33,7 +33,7 @@ Documentation for other releases can be found at
|
|||||||
|
|
||||||
## kubectl patch
|
## kubectl patch
|
||||||
|
|
||||||
Update field(s) of a resource by stdin.
|
Update field(s) of a resource using strategic merge patch.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ kubectl patch pod valid-pod -p '{"spec":{"containers":[{"name":"kubernetes-serve
|
|||||||
|
|
||||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra at 2015-09-22 12:53:42.290134655 +0000 UTC
|
###### Auto generated by spf13/cobra on 10-Nov-2015
|
||||||
|
|
||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||||
[]()
|
[]()
|
||||||
|
@ -57,7 +57,7 @@ func NewCmdPatch(f *cmdutil.Factory, out io.Writer) *cobra.Command {
|
|||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "patch (-f FILENAME | TYPE NAME) -p PATCH",
|
Use: "patch (-f FILENAME | TYPE NAME) -p PATCH",
|
||||||
Short: "Update field(s) of a resource by stdin.",
|
Short: "Update field(s) of a resource using strategic merge patch.",
|
||||||
Long: patch_long,
|
Long: patch_long,
|
||||||
Example: patch_example,
|
Example: patch_example,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user