Difference between revisions of "Kubectl rollout --help"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} == See also == * {{kubectl rollout}} * {{CD}} Category:Kubernetes")
 
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
<>ore
  
 +
Manage the rollout of one or many resources.
 +
 +
Valid resource types include:
 +
 +
  *  deployments
 +
  *  daemonsets
 +
  *  statefulsets
 +
 +
Examples:
 +
  # Rollback to the previous deployment
 +
  kubectl rollout undo deployment/abc
 +
 +
  # Check the rollout status of a daemonset
 +
  kubectl rollout status daemonset/foo
 +
 +
  # Restart a deployment
 +
  kubectl rollout restart deployment/abc
 +
 +
  # Restart deployments with the app=nginx label
 +
  kubectl rollout restart deployment --selector=app=nginx
 +
 +
Available Commands:
 +
  history      View rollout history
 +
  pause        Mark the provided resource as paused
 +
  restart      Restart a resource
 +
  resume        Resume a paused resource
 +
  status        Show the status of the rollout
 +
  undo          Undo a previous rollout
 +
 +
Usage:
 +
  kubectl rollout SUBCOMMAND [options]
 +
 +
Use "kubectl <command> --help" for more information about a given command.
 +
Use "kubectl options" for a list of global command-line options (applies to all commands).
 +
el@EL0108 ~ % kubectl rollout --help | prepend_space
 +
Manage the rollout of one or many resources.
 +
 +
  Valid resource types include:
 +
 +
  *  deployments
 +
  *  daemonsets
 +
  *  statefulsets
 +
 +
Examples:
 +
  # Rollback to the previous deployment
 +
  kubectl rollout undo deployment/abc
 +
 +
  # Check the rollout status of a daemonset
 +
  kubectl rollout status daemonset/foo
 +
 +
  # Restart a deployment
 +
  kubectl rollout restart deployment/abc
 +
 +
  # Restart deployments with the app=nginx label
 +
  kubectl rollout restart deployment --selector=app=nginx
 +
 +
Available Commands:
 +
  history      View rollout history
 +
  pause        Mark the provided resource as paused
 +
  restart      Restart a resource
 +
  resume        Resume a paused resource
 +
  status        Show the status of the rollout
 +
  undo          Undo a previous rollout
 +
 +
Usage:
 +
  kubectl rollout SUBCOMMAND [options]
 +
 +
Use "kubectl <command> --help" for more information about a given command.
 +
Use "kubectl options" for a list of global command-line options (applies to all commands).
 +
</pre>
  
  

Revision as of 20:34, 25 July 2022

<>ore

Manage the rollout of one or many resources.

Valid resource types include:
 *  deployments
 *  daemonsets
 *  statefulsets

Examples:

 # Rollback to the previous deployment
 kubectl rollout undo deployment/abc
 # Check the rollout status of a daemonset
 kubectl rollout status daemonset/foo
 # Restart a deployment
 kubectl rollout restart deployment/abc
 # Restart deployments with the app=nginx label
 kubectl rollout restart deployment --selector=app=nginx

Available Commands:

 history       View rollout history
 pause         Mark the provided resource as paused
 restart       Restart a resource
 resume        Resume a paused resource
 status        Show the status of the rollout
 undo          Undo a previous rollout

Usage:

 kubectl rollout SUBCOMMAND [options]

Use "kubectl <command> --help" for more information about a given command. Use "kubectl options" for a list of global command-line options (applies to all commands). el@EL0108 ~ % kubectl rollout --help | prepend_space

Manage the rollout of one or many resources.
 Valid resource types include:
  *  deployments
  *  daemonsets
  *  statefulsets
Examples:
  # Rollback to the previous deployment
  kubectl rollout undo deployment/abc
  # Check the rollout status of a daemonset
  kubectl rollout status daemonset/foo
  # Restart a deployment
  kubectl rollout restart deployment/abc
  # Restart deployments with the app=nginx label
  kubectl rollout restart deployment --selector=app=nginx
Available Commands:
  history       View rollout history
  pause         Mark the provided resource as paused
  restart       Restart a resource
  resume        Resume a paused resource
  status        Show the status of the rollout
  undo          Undo a previous rollout
Usage:
  kubectl rollout SUBCOMMAND [options]
Use "kubectl <command> --help" for more information about a given command.
Use "kubectl options" for a list of global command-line options (applies to all commands).


See also

Advertising: