Forrest logo
back to the kubectl tool

kubectl-rollout:tldr:853ce

kubectl-rollout: Watch the rolling update status of a resource.
$ kubectl rollout status ${resource_type}/${resource_name}
try on your machine

The command "kubectl rollout status ${resource_type}/${resource_name}" is used in Kubernetes to check the status of a rollout for a specific resource.

Here's a breakdown of the command:

  • "kubectl" is the command-line interface tool for interacting with Kubernetes clusters.
  • "rollout status" is the specific command within kubectl to check the status of a rollout.
  • "${resource_type}" is a placeholder that should be replaced with the appropriate Kubernetes resource type, such as "deployment", "statefulset", or "daemonset".
  • "${resource_name}" is also a placeholder that should be replaced with the name of the resource for which you want to check the rollout status.

By executing this command, Kubernetes will display the current status of the specified resource's rollout. This includes information like how many replicas are up-to-date, how many are available, and the overall status of the rollout process. It helps you to determine if a rollout is progressing successfully or encountering any issues.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the kubectl tool