mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #12610 from mikedanese/rewrite-kubectl
rewrite kubectl command references to GoogleCloudPlatform
This commit is contained in:
		@@ -20,7 +20,7 @@ JSON and YAML formats are accepted.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.PP
 | 
					.PP
 | 
				
			||||||
Please refer to the models in 
 | 
					Please refer to the models in 
 | 
				
			||||||
\[la]https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html\[ra] to find if a field is mutable.
 | 
					\[la]https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/HEAD/docs/api-reference/definitions.html\[ra] to find if a field is mutable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.SH OPTIONS
 | 
					.SH OPTIONS
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@ $ kubectl get TYPE NAME \-o yaml
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.PP
 | 
					.PP
 | 
				
			||||||
Please refer to the models in 
 | 
					Please refer to the models in 
 | 
				
			||||||
\[la]https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html\[ra] to find if a field is mutable.
 | 
					\[la]https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/HEAD/docs/api-reference/definitions.html\[ra] to find if a field is mutable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.SH OPTIONS
 | 
					.SH OPTIONS
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,7 +17,7 @@ kubectl controls the Kubernetes cluster manager.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.PP
 | 
					.PP
 | 
				
			||||||
Find more information at 
 | 
					Find more information at 
 | 
				
			||||||
\[la]https://github.com/GoogleCloudPlatform/kubernetes\[ra].
 | 
					\[la]https://github.com/kubernetes/kubernetes\[ra].
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.SH OPTIONS
 | 
					.SH OPTIONS
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,7 +40,7 @@ kubectl controls the Kubernetes cluster manager
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
kubectl controls the Kubernetes cluster manager.
 | 
					kubectl controls the Kubernetes cluster manager.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Find more information at https://github.com/GoogleCloudPlatform/kubernetes.
 | 
					Find more information at https://github.com/kubernetes/kubernetes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
kubectl
 | 
					kubectl
 | 
				
			||||||
@@ -102,7 +102,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 at 2015-08-05 23:27:50.891029728 +0000 UTC
 | 
					###### Auto generated by spf13/cobra at 2015-08-12 21:51:38.841032313 +0000 UTC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
					<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
				
			||||||
[]()
 | 
					[]()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -42,7 +42,7 @@ Update field(s) of a resource using strategic merge patch
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
JSON and YAML formats are accepted.
 | 
					JSON and YAML formats are accepted.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Please refer to the models in https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.
 | 
					Please refer to the models in https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
kubectl patch TYPE NAME -p PATCH
 | 
					kubectl patch TYPE NAME -p PATCH
 | 
				
			||||||
@@ -100,7 +100,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-08-12 16:38:35.550556305 +0000 UTC
 | 
					###### Auto generated by spf13/cobra at 2015-08-12 21:51:38.836855054 +0000 UTC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
					<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
				
			||||||
[]()
 | 
					[]()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,7 +44,7 @@ JSON and YAML formats are accepted. If replacing an existing resource, the
 | 
				
			|||||||
complete resource spec must be provided. This can be obtained by
 | 
					complete resource spec must be provided. This can be obtained by
 | 
				
			||||||
$ kubectl get TYPE NAME -o yaml
 | 
					$ kubectl get TYPE NAME -o yaml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Please refer to the models in https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.
 | 
					Please refer to the models in https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
kubectl replace -f FILENAME
 | 
					kubectl replace -f FILENAME
 | 
				
			||||||
@@ -111,7 +111,7 @@ kubectl replace --force -f ./pod.json
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
* [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-08-12 16:38:35.550406842 +0000 UTC
 | 
					###### Auto generated by spf13/cobra at 2015-08-12 21:51:38.83671597 +0000 UTC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
					<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
				
			||||||
[]()
 | 
					[]()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -114,7 +114,7 @@ func NewKubectlCommand(f *cmdutil.Factory, in io.Reader, out, err io.Writer) *co
 | 
				
			|||||||
		Short: "kubectl controls the Kubernetes cluster manager",
 | 
							Short: "kubectl controls the Kubernetes cluster manager",
 | 
				
			||||||
		Long: `kubectl controls the Kubernetes cluster manager.
 | 
							Long: `kubectl controls the Kubernetes cluster manager.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Find more information at https://github.com/GoogleCloudPlatform/kubernetes.`,
 | 
					Find more information at https://github.com/kubernetes/kubernetes.`,
 | 
				
			||||||
		Run: runHelp,
 | 
							Run: runHelp,
 | 
				
			||||||
		BashCompletionFunction: bash_completion_func,
 | 
							BashCompletionFunction: bash_completion_func,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,7 +31,7 @@ const (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
JSON and YAML formats are accepted.
 | 
					JSON and YAML formats are accepted.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Please refer to the models in https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.`
 | 
					Please refer to the models in https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.`
 | 
				
			||||||
	patch_example = `
 | 
						patch_example = `
 | 
				
			||||||
# Partially update a node using strategic merge patch
 | 
					# Partially update a node using strategic merge patch
 | 
				
			||||||
kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'
 | 
					kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@ JSON and YAML formats are accepted. If replacing an existing resource, the
 | 
				
			|||||||
complete resource spec must be provided. This can be obtained by
 | 
					complete resource spec must be provided. This can be obtained by
 | 
				
			||||||
$ kubectl get TYPE NAME -o yaml
 | 
					$ kubectl get TYPE NAME -o yaml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Please refer to the models in https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.`
 | 
					Please refer to the models in https://htmlpreview.github.io/?https://github.com/kubernetes/kubernetes/HEAD/docs/api-reference/definitions.html to find if a field is mutable.`
 | 
				
			||||||
	replace_example = `# Replace a pod using the data in pod.json.
 | 
						replace_example = `# Replace a pod using the data in pod.json.
 | 
				
			||||||
$ kubectl replace -f ./pod.json
 | 
					$ kubectl replace -f ./pod.json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user