diff --git a/docs/man/man1/kubectl-attach.1 b/docs/man/man1/kubectl-attach.1 index cda34aae6cb..0409c504cd9 100644 --- a/docs/man/man1/kubectl-attach.1 +++ b/docs/man/man1/kubectl-attach.1 @@ -13,7 +13,7 @@ kubectl attach \- Attach to a running container. .SH DESCRIPTION .PP -Attach to a a process that is already running inside an existing container. +Attach to a process that is already running inside an existing container. .SH OPTIONS diff --git a/docs/man/man1/kubectl-autoscale.1 b/docs/man/man1/kubectl-autoscale.1 index 60da629327a..348f55e05ed 100644 --- a/docs/man/man1/kubectl-autoscale.1 +++ b/docs/man/man1/kubectl-autoscale.1 @@ -31,7 +31,7 @@ An autoscaler can automatically increase or decrease number of pods deployed wit .PP \fB\-f\fP, \fB\-\-filename\fP=[] - Filename, directory, or URL to a file identifying the resource to get from a server. + Filename, directory, or URL to a file identifying the resource to autoscale. .PP \fB\-\-generator\fP="horizontalpodautoscaler/v1beta1" diff --git a/docs/user-guide/kubectl/kubectl_attach.md b/docs/user-guide/kubectl/kubectl_attach.md index 68819eb912e..115ae6e56fe 100644 --- a/docs/user-guide/kubectl/kubectl_attach.md +++ b/docs/user-guide/kubectl/kubectl_attach.md @@ -38,7 +38,7 @@ Attach to a running container. ### Synopsis -Attach to a a process that is already running inside an existing container. +Attach to a process that is already running inside an existing container. ``` kubectl attach POD -c CONTAINER @@ -98,7 +98,7 @@ $ kubectl attach 123456-7890 -c ruby-container -i -t * [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager -###### Auto generated by spf13/cobra on 24-Nov-2015 +###### Auto generated by spf13/cobra on 25-Nov-2015 [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_attach.md?pixel)]() diff --git a/docs/user-guide/kubectl/kubectl_autoscale.md b/docs/user-guide/kubectl/kubectl_autoscale.md index 678042ee8d2..99222cc3c48 100644 --- a/docs/user-guide/kubectl/kubectl_autoscale.md +++ b/docs/user-guide/kubectl/kubectl_autoscale.md @@ -62,7 +62,7 @@ $ kubectl autoscale rc foo --max=5 --cpu-percent=80 ``` --cpu-percent=-1: The target average CPU utilization (represented as a percent of requested CPU) over all the pods. If it's not specified or negative, the server will apply a default value. --dry-run[=false]: If true, only print the object that would be sent, without creating it. - -f, --filename=[]: Filename, directory, or URL to a file identifying the resource to get from a server. + -f, --filename=[]: Filename, directory, or URL to a file identifying the resource to autoscale. --generator="horizontalpodautoscaler/v1beta1": The name of the API generator to use. Currently there is only 1 generator. --max=-1: The upper limit for the number of pods that can be set by the autoscaler. Required. --min=-1: The lower limit for the number of pods that can be set by the autoscaler. If it's not specified or negative, the server will apply a default value. @@ -108,7 +108,7 @@ $ kubectl autoscale rc foo --max=5 --cpu-percent=80 * [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager -###### Auto generated by spf13/cobra on 24-Nov-2015 +###### Auto generated by spf13/cobra on 25-Nov-2015 [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_autoscale.md?pixel)]() diff --git a/pkg/kubectl/cmd/attach.go b/pkg/kubectl/cmd/attach.go index 2db8e14b2ba..889c13a6b88 100644 --- a/pkg/kubectl/cmd/attach.go +++ b/pkg/kubectl/cmd/attach.go @@ -57,7 +57,7 @@ func NewCmdAttach(f *cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) cmd := &cobra.Command{ Use: "attach POD -c CONTAINER", Short: "Attach to a running container.", - Long: "Attach to a a process that is already running inside an existing container.", + Long: "Attach to a process that is already running inside an existing container.", Example: attach_example, Run: func(cmd *cobra.Command, args []string) { cmdutil.CheckErr(options.Complete(f, cmd, args)) diff --git a/pkg/kubectl/cmd/autoscale.go b/pkg/kubectl/cmd/autoscale.go index e9a578d001b..1338de60091 100644 --- a/pkg/kubectl/cmd/autoscale.go +++ b/pkg/kubectl/cmd/autoscale.go @@ -61,7 +61,7 @@ func NewCmdAutoscale(f *cmdutil.Factory, out io.Writer) *cobra.Command { cmd.Flags().Int("cpu-percent", -1, fmt.Sprintf("The target average CPU utilization (represented as a percent of requested CPU) over all the pods. If it's not specified or negative, the server will apply a default value.")) cmd.Flags().String("name", "", "The name for the newly created object. If not specified, the name of the input resource will be used.") cmd.Flags().Bool("dry-run", false, "If true, only print the object that would be sent, without creating it.") - usage := "Filename, directory, or URL to a file identifying the resource to get from a server." + usage := "Filename, directory, or URL to a file identifying the resource to autoscale." kubectl.AddJsonFilenameFlag(cmd, &filenames, usage) cmdutil.AddApplyAnnotationFlags(cmd) return cmd