kubectl rolling-update support for same image
This commit is contained in:
@@ -42,6 +42,10 @@ existing replication controller and overwrite at least one (common) label in its
|
||||
\fB\-\-image\fP=""
|
||||
Image to use for upgrading the replication controller. Must be distinct from the existing image (either new image or new image tag). Can not be used with \-\-filename/\-f
|
||||
|
||||
.PP
|
||||
\fB\-\-image\-pull\-policy\fP=""
|
||||
Explicit policy for when to pull container images. Required when \-\-image is same as existing image, ignored otherwise.
|
||||
|
||||
.PP
|
||||
\fB\-\-include\-extended\-apis\fP=true
|
||||
If true, include definitions of new APIs via calls to the API server. [default true]
|
||||
|
||||
@@ -78,6 +78,7 @@ kubectl rolling-update frontend-v1 frontend-v2 --rollback
|
||||
--dry-run[=false]: If true, print out the changes that would be made, but don't actually make them.
|
||||
-f, --filename=[]: Filename or URL to file to use to create the new replication controller.
|
||||
--image="": Image to use for upgrading the replication controller. Must be distinct from the existing image (either new image or new image tag). Can not be used with --filename/-f
|
||||
--image-pull-policy="": Explicit policy for when to pull container images. Required when --image is same as existing image, ignored otherwise.
|
||||
--include-extended-apis[=true]: If true, include definitions of new APIs via calls to the API server. [default true]
|
||||
--no-headers[=false]: When using the default output, don't print headers.
|
||||
-o, --output="": Output format. One of: json|yaml|wide|name|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://releases.k8s.io/HEAD/docs/user-guide/jsonpath.md].
|
||||
@@ -126,7 +127,7 @@ kubectl rolling-update frontend-v1 frontend-v2 --rollback
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra on 5-Apr-2016
|
||||
###### Auto generated by spf13/cobra on 21-Apr-2016
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
@@ -26,6 +26,9 @@ options:
|
||||
- name: image
|
||||
usage: |
|
||||
Image to use for upgrading the replication controller. Must be distinct from the existing image (either new image or new image tag). Can not be used with --filename/-f
|
||||
- name: image-pull-policy
|
||||
usage: |
|
||||
Explicit policy for when to pull container images. Required when --image is same as existing image, ignored otherwise.
|
||||
- name: include-extended-apis
|
||||
default_value: "true"
|
||||
usage: |
|
||||
|
||||
Reference in New Issue
Block a user