Skip to content
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

fix: Only cleanup agent pod if exists. Fixes #12659 #13294

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

jswxstw
Copy link
Member

@jswxstw jswxstw commented Jul 2, 2024

Motivation

Fixes #12659

Modifications

Agent pod will only be created when taskset nodes exist, so do not delete it if it does not exist.

Verification

local test and updated UT

@agilgur5 agilgur5 self-assigned this Jul 2, 2024
@agilgur5 agilgur5 added the area/agent Argo Agent that runs for HTTP and Plugin templates label Jul 2, 2024
@agilgur5 agilgur5 added the area/controller Controller issues, panics label Jul 2, 2024
Copy link
Member

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up to #12679 (comment), so LGTM.

Thanks for fixing the issue and finding the right function to check!

@agilgur5 agilgur5 enabled auto-merge (squash) July 2, 2024 06:56
@agilgur5 agilgur5 merged commit 825aacf into argoproj:main Jul 2, 2024
30 checks passed
agilgur5 pushed a commit that referenced this pull request Jul 25, 2024
- merge conflicts with tests removed in backport by agilgur5

Signed-off-by: oninowang <[email protected]>
Signed-off-by: jswxstw <[email protected]>
Co-authored-by: jswxstw <[email protected]>
Co-authored-by: agilgur5 <[email protected]>
(cherry picked from commit 825aacf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent Argo Agent that runs for HTTP and Plugin templates area/controller Controller issues, panics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

controller sending many pod delete requests that result in 404 response
2 participants