Removing multiple applications leaves orphan applications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Ian Booth |
Bug Description
I have a bundle with ~20 applications in it. When I remove all of them at once, sometimes some of the applications get left behind as orphans. `juju status` will show an empty model, but `kubectl get pods` will show pods left behind:
```
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
kubeflow cdkkf cdkkf 2.6.1 unsupported 17:22:28-05:00
Model "admin/kubeflow" is empty.
```
```
$ kubectl get pods
NAMESPACE NAME READY STATUS RESTARTS AGE
kubeflow mariadb-0 1/1 Running 0 3m34s
kubeflow minio-b985c7975
kubeflow pipelines-
kubeflow pipelines-
kubeflow pipelines-
kubeflow pipelines-
kubeflow tensorboard-
kubeflow tf-job-
kubeflow tf-job-
```
The corresponding deployments and statefulsets are left behind as well, and removing them with kubectl cleans them up appropriately.
tags: | added: k8s remove-application |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju: | |
milestone: | none → 2.7-beta1 |
Changed in juju: | |
milestone: | 2.7-beta1 → 2.7-rc1 |
Changed in juju: | |
milestone: | 2.7-rc1 → none |
Thanks for creating this bug, Kenneth. application` to remove those applications one by one?
Did you use `remove-