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

Clean kubefed resources before uninstall #1996

Merged
merged 1 commit into from May 30, 2022
Merged

Clean kubefed resources before uninstall #1996

merged 1 commit into from May 30, 2022

Conversation

ghost
Copy link

@ghost ghost commented May 19, 2022

Issue

The kubesphere-delete.sh won't propely remove kubefed from the cluster before removing kubesphere , resulting in namespace kube-federation-system hanging in Terminating state.

Cause

Neither the kubefed CRDs or resources are removed prior to deleting the namespace.

Solution

Clean-up kubefed resources before uninstalling the helm chart as well *.kubefed.io crds before completely removing kube-federation-system namespace.

Note: Following the uninstallation method of the kubefed chart described here https://github.com/kubesphere/ks-installer/tree/master/roles/ks-multicluster/files/kubefed/kubefed#uninstalling-the-chart didn't work

@ks-ci-bot ks-ci-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 19, 2022
@ghost
Copy link
Author

ghost commented May 19, 2022

/assign @24sama

@pixiake
Copy link
Collaborator

pixiake commented May 30, 2022

/lgtm
/approve

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label May 30, 2022
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: d1d1e678f0c531da8f90b6a367d92b1d7a938b7e

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: najib-houcine, pixiake

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

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 30, 2022
@ks-ci-bot ks-ci-bot merged commit 5ff84ba into kubesphere:master May 30, 2022
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. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants