-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
argo CLI list command results not predictable with -o name flag #7581
Comments
This should be the case already: argo-workflows/cmd/argo/commands/list.go Line 164 in a94b846
Can you please make sure you're running the latest version of the CLI? |
Looks like this issue exists in the latest version.
argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types.go Lines 130 to 145 in f1fe3be
When we list workflows with |
argoproj#7581 Signed-off-by: Peixuan Ding <[email protected]>
#7581 (#7594) Signed-off-by: Peixuan Ding <[email protected]>
argoproj#7581 (argoproj#7594) Signed-off-by: Peixuan Ding <[email protected]>
#7581 (#7594) Signed-off-by: Peixuan Ding <[email protected]>
Summary
Using argo CLI I want keep the latest 20 workflows and delete the rest. This runs in a cron job (not argo cron job, normal linux cron)
When I do this
and when I do it with -o name, I get different result
As you can see both return a different list.
Is there a way to sort the output of
argo list
in order of creation time? Why ordering is different when-o name
is used.Version: v3.2.4
Kubernetes: v1.21.2
Docker: 20.10.7
The text was updated successfully, but these errors were encountered: