-
Notifications
You must be signed in to change notification settings - Fork 138
Delete knative webhooks during KF uninstalling #436
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: akrava The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @akrava. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@googlebot I signed it! |
I tried to optimize deletion order and components in this PR. #386 Can you check is there's something you can reuse? |
Hi @Jeffwan! Thanks for asking. Unfortunately I cannot reuse anything from your PR due situation described in issue #435, which I'm trying to solve in my PR, is a little bit different. If I understand correctly, PR #386 optimize deletion in case if user deletes KF using client tool kfctl/pkg/kfapp/kustomize/kustomize.go Lines 366 to 367 in 23ae5c1
But my situation differ: I'm using operator and I delete KF resources by kubectl delete -f kfdef/kfctl_k8s_istio.v1.1.0.yaml and then delete operator itself. Generally all KF resources have got ownerReferences definition in metadata so it is deleting simultaneously with KF, but unfortunately knative remove ownerReferences from some webhooks after startup. This why I proposed such workaround.
|
@akrava sounds good. Let's wait for folks who working on operator from @kubeflow/wg-deployment-leads to review your change. I am not familiar with controller logic |
Fixes #435.
I propose to delete knative webhooks, which causes an error after reinstall, during Kubeflow deletion process.