Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""

This reverts commit 69432e8b2f.

    COMMIT_BLOCKED_ON_GENDOCS
This commit is contained in:
Brendan Burns
2015-03-16 11:23:02 -07:00
parent d0b468f4b0
commit c66caa5336
58 changed files with 426 additions and 289 deletions

View File

@@ -33,6 +33,7 @@ $ kubectl run-container nginx --image=dockerfile/nginx --overrides='{ "apiVersio
```
--dry-run=false: If true, only print the object that would be sent, without sending it.
--generator="run-container/v1": The name of the API generator to use. Default is 'run-container-controller/v1'.
-h, --help=false: help for run-container
--image="": The image for the container to run.
-l, --labels="": Labels to apply to the pod(s) created by this call to run-container.
--no-headers=false: When using the default output, don't print headers.
@@ -55,7 +56,6 @@ $ kubectl run-container nginx --image=dockerfile/nginx --overrides='{ "apiVersio
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
-h, --help=false: help for kubectl
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": Path to the kubeconfig file to use for CLI requests.
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace