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 WaitForControlledPodsRunning for deletion of deployments #2117

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

tosi3k
Copy link
Member

@tosi3k tosi3k commented Aug 11, 2022

After submission of #2103 we handle "wait for deployment deletion" case incorrectly.

Once the ReplicaSet objects get deleted, we lose track of pods associated with the deployment so currently all pods are "deleted" when in fact that deployment's ReplicaSets are deleted, not the pods themselves.

/assign @mborsz

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 11, 2022
@tosi3k
Copy link
Member Author

tosi3k commented Aug 11, 2022

TODOs:

  • write unit tests
  • clean up the code

@jupblb
Copy link
Contributor

jupblb commented Aug 11, 2022

TODOs:

  • write unit tests
  • clean up the code

Please fix

@tosi3k tosi3k force-pushed the fix-deployments branch 2 times, most recently from 72b51ea to 227215f Compare August 11, 2022 16:46
@tosi3k tosi3k force-pushed the fix-deployments branch 4 times, most recently from 60f51b6 to 0c9be6e Compare August 12, 2022 10:17
@tosi3k tosi3k force-pushed the fix-deployments branch 2 times, most recently from 6254fbd to 0959c3f Compare August 12, 2022 14:26
@mborsz
Copy link
Member

mborsz commented Aug 12, 2022

/lgtm
/approve
/hold Please wait with submitting this until Tue

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 12, 2022
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 12, 2022
@mborsz
Copy link
Member

mborsz commented Aug 16, 2022

/lgtm
/approve
/hold cancel

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Aug 16, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mborsz, tosi3k

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants