You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some resources in the v1 API contain fields called phase, and associated message, reason, and other status fields. The pattern of using phase is deprecated. Newer API types should use conditions instead.
This would facilitate using e.g. kubectl wait to wait for workflows:
The argo wait command UI is very nice, not sure if it's possible to get any similar experience with kubectl wait. But where kubectl wait is handy, is if you are trying to wait on a data drive list of resources, some of which may be workflows, some jobs, or any other type of resource for certain conditions, which our team is looking to do.
Proposal
Add a Conditions field to workflow status, which includes at least a completed or similar condition, and whatever other conditions may make sense. Deprecate the phase etc. fields in status which are superceded by Conditions.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered:
Summary
Add
Conditions
to workflow status.Motivation
From the kubernetes api conventions:
This would facilitate using e.g.
kubectl wait
to wait for workflows:kubectl wait --for=condition=complete workflow/myworkflow
The
argo wait
command UI is very nice, not sure if it's possible to get any similar experience withkubectl wait
. But wherekubectl wait
is handy, is if you are trying to wait on a data drive list of resources, some of which may be workflows, some jobs, or any other type of resource for certain conditions, which our team is looking to do.Proposal
Add a
Conditions
field to workflow status, which includes at least acompleted
or similar condition, and whatever other conditions may make sense. Deprecate thephase
etc. fields in status which are superceded byConditions
.Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: