@@ -23,6 +23,10 @@ existing replication controller and overwrite at least one (common) label in its
...
@@ -23,6 +23,10 @@ existing replication controller and overwrite at least one (common) label in its
.SH OPTIONS
.SH OPTIONS
.PP
.PP
\fB\-\-container\fP=""
Container name which will have its image upgraded. Only relevant when \-\-image is specified, ignored otherwise. Required when using \-\-image on a multi\-container pod
.PP
\fB\-\-deployment\-label\-key\fP="deployment"
\fB\-\-deployment\-label\-key\fP="deployment"
The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when \-\-image is specified, ignored otherwise
The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when \-\-image is specified, ignored otherwise
--container="": Container name which will have its image upgraded. Only relevant when --image is specified, ignored otherwise. Required when using --image on a multi-container pod
--deployment-label-key="deployment": The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when --image is specified, ignored otherwise
--deployment-label-key="deployment": The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when --image is specified, ignored otherwise
--dry-run[=false]: If true, print out the changes that would be made, but don't actually make them.
--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.
-f, --filename=[]: Filename or URL to file to use to create the new replication controller.
cmd.Flags().String("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")
cmd.Flags().String("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")
cmd.MarkFlagRequired("image")
cmd.MarkFlagRequired("image")
cmd.Flags().String("deployment-label-key","deployment","The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when --image is specified, ignored otherwise")
cmd.Flags().String("deployment-label-key","deployment","The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when --image is specified, ignored otherwise")
cmd.Flags().String("container","","Container name which will have its image upgraded. Only relevant when --image is specified, ignored otherwise. Required when using --image on a multi-container pod")
cmd.Flags().Bool("dry-run",false,"If true, print out the changes that would be made, but don't actually make them.")
cmd.Flags().Bool("dry-run",false,"If true, print out the changes that would be made, but don't actually make them.")
cmd.Flags().Bool("rollback",false,"If true, this is a request to abort an existing rollout that is partially rolled out. It effectively reverses current and next and runs a rollout")
cmd.Flags().Bool("rollback",false,"If true, this is a request to abort an existing rollout that is partially rolled out. It effectively reverses current and next and runs a rollout")