-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] rollout status #596
Comments
In addition I would add that knowing also the status of each something like returns it is really useful for building fail-less CD Pipelines. |
Add common k8s print flags to get rollout/experiments commands. ``` -o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file. --template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]. ``` Example usages: ``` # Output json kubectl argo rollouts get rollout guestbook -o json # Print status kubectl argo rollouts get rollout guestbook -o jsonpath='{.spec.status}' Healthy # Print Blue Green preview replica set status kubectl argo rollouts get rollout guestbook -o jsonpath='{.spec.replicaSets[?(@.spec.preview==true)].spec.status}' Progressing ``` Refs argoproj#596
Signed-off-by: Pedro Arvela <[email protected]>
There would be an awesome if cli had a functionality to get a current status of a rollout.
Command:
kubectl argo rollouts status rollout guestbook
Returns:
Healthy
or as a flag.
kubectl argo rollouts get rollout guestbook --status
To know if it Healthy,Processing or Degraded.
The text was updated successfully, but these errors were encountered: