-
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
fix: change pod OwnerReference to clean workflowtaskresults in large-scale scenarios #11048
Conversation
workflow/executor/taskresult.go
Outdated
@@ -52,7 +52,7 @@ func (we *WorkflowExecutor) createTaskResult(ctx context.Context, result wfv1.No | |||
[]metav1.OwnerReference{ | |||
{ | |||
APIVersion: "v1", | |||
Kind: "pods", | |||
Kind: "pod", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kind: "pod", | |
Kind: "Pod", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already edited. Thanks.
…cale scenarios Signed-off-by: shuangkun <tsk2013uestc@163.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks for this fix!
…scale scenarios (#11048) Signed-off-by: shuangkun <tsk2013uestc@163.com>
…scale scenarios (argoproj#11048) Signed-off-by: shuangkun <tsk2013uestc@163.com>
…scale scenarios (argoproj#11048) Signed-off-by: shuangkun <tsk2013uestc@163.com> Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
In large-scale scenarios on cloud, we find the are so many workflowtaskresults left in the cluster (over a million), causing the cluster to fail to work. After investigation, we determined that there is something wrong with the pod owner reference.