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

[BUG]polardbx configmaps leftover need to be cleaned after cluster and kubeblocks uninstalled #5292

Closed
ahjing99 opened this issue Sep 27, 2023 · 2 comments
Assignees
Labels
bug kind/bug Something isn't working Stale
Milestone

Comments

@ahjing99
Copy link
Collaborator

➜ ~ kbcli version
Kubernetes: v1.27.3-gke.100
kbcli: 0.7.0-alpha.19

After polardbx cluster is deleted and kubeblocks uninstalled, there is still polardbx configmaps leftover "polardbx-scripts " to stop kubeblocks installation, this need to be cleaned

➜  ~ k get cluster
No resources found in default namespace.
➜  ~ kbcli kubeblocks uninstall
Warning: this action will remove all KubeBlocks resources.
Please type "uninstall-kubeblocks" to confirm: uninstall-kubeblocks
Uninstall KubeBlocks in namespace "kb-system"
Wait for addons to be disabled
  apecloud-mysql                                   OK
  grafana                                          OK
  kafka                                            OK
  mongodb                                          OK
  mysql                                            OK
  postgresql                                       OK
  prometheus                                       OK
  pulsar                                           OK
  redis                                            OK
  snapshot-controller                              OK
Uninstall helm release kubeblocks 0.7.0-alpha.18   OK
Remove helm repo kubeblocks                        OK
Remove built-in custom resources                   OK
Remove addons                                      OK
Remove clusterdefinitions                          OK
Remove clusterversions                             OK
Remove configmaps                                  OK
Remove customresourcedefinitions                   OK
Remove storageproviders                            OK
Uninstall KubeBlocks done.

   `kbcli kubeblocks install --create-namespace  --namespace default `

error: there are resources left by previous KubeBlocks version, try to run "kbcli kubeblocks uninstall" to clean up
  configmaps: polardbx-scripts

➜  ~ k get cm
NAME                        DATA   AGE
grafana-polardbx-overview   1      22h
kube-root-ca.crt            1      2d4h
polardbx-scripts            5      22h
@ahjing99 ahjing99 added the kind/bug Something isn't working label Sep 27, 2023
@ahjing99 ahjing99 added this to the Release 0.7.0 milestone Sep 27, 2023
@github-actions
Copy link

This issue has been marked as stale because it has been open for 30 days with no activity

@shanshanying
Copy link
Contributor

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants