Juju 2.8 not removing custom Resource
Bug #1900601 reported by
Kenneth Koski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
High
|
Unassigned |
Bug Description
I have a charm (istio-pilot) that is creating a VirtualService custom resource for each charm that gets related to it over the service-mesh interface. It creates the VirtualService resources via its own pod spec.
The issue is that when the application is removed, the VirtualService isn't cleaned up. It seems that if the pod spec changes to remove a customResource, Juju doesn't detect the lack of that item compared to previous pod spec calls.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.8.7 |
Changed in juju: | |
milestone: | 3.0.0 → 3.0.1 |
Changed in juju: | |
milestone: | 3.0.1 → 3.0.2 |
Changed in juju: | |
milestone: | 3.0.2 → 3.0.3 |
To post a comment you must log in.
As an example:
$ juju status teway docker. io/istio/ proxyv2: 1.5.0 active 1 istio-ingressga teway local 0 kubernetes 10.64.140.43 io/istio/ pilot:1. 5.0 active 1 istio-pilot local 0 kubernetes 10.152.183.150
...
App Version Status Scale Charm Store Rev OS Address Notes
argo-ui argoui:v2.3.0 active 1 argo-ui local 0 kubernetes 10.152.183.32
istio-ingressga
istio-pilot docker.
...
$ microk8s kubectl get virtualservices -A
NAMESPACE NAME GATEWAYS HOSTS AGE
kubeflow argo-ui [kubeflow-gateway] [*] 16m
$ juju remove-application argo-ui
removing application argo-ui
$ juju status teway docker. io/istio/ proxyv2: 1.5.0 active 1 istio-ingressga teway local 0 kubernetes 10.64.140.43 io/istio/ pilot:1. 5.0 active 1 istio-pilot local 0 kubernetes 10.152.183.150
...
App Version Status Scale Charm Store Rev OS Address Notes
istio-ingressga
istio-pilot docker.
...
$ microk8s kubectl get virtualservices -A
NAMESPACE NAME GATEWAYS HOSTS AGE
kubeflow argo-ui [kubeflow-gateway] [*] 18m