Activity log for bug #1949103

Date Who What changed Old value New value Message
2021-10-28 15:44:26 Dominik Fleischmann bug added bug
2021-10-28 15:45:30 Dominik Fleischmann description There are several cases where juju is not labeling Kubernetes Resources that are created by a charm: 1. Resources that are deployed by workloads that are deployed from charms. For Example, the Jupyter Notebook Controller is deployed through charms will deploy Notebook Servers in different namespaces which will not contain juju labels. #Bootstrapped on microk8s with storage DNS, ingress and metallb:10.64.140.43-10.64.140.49 enabled # Deploy the kubeflow-lite bundle following these instructions: https://charmed-kubeflow.io/docs/install # Create a Notebook Server like described in the "Creating a Kubeflow Notebook" section here: https://charmed-kubeflow.io/docs/kubeflow-basics # Check labels of the "test" notebook server pod: microk8s kubectl -n admin get pod/test-0 -o yaml 2. When creating resources through kubectl or istioctl. This is a pattern used in the istio sidecar charm. It does not happen when creating resources through a python library like lightkube. This can be reproduced the following way: # Bootstrapped on microk8s with storage DNS and ingress enabled juju deploy ch:istio-gateway istio-ingressgateway-operator --config=kind=ingress --trust juju deploy istio-pilot --trust juju relate istio-pilot istio-ingressgateway-operator # Describing the istio-ingressgateway pod (not the one for pebble) it will not have any labels. microk8s kubectl -n istio get pod/istio-ingressgateway -o yaml There are several cases where juju is not labeling Kubernetes Resources that are created by a charm: == 1.== Resources that are deployed by workloads that are deployed from charms. For Example, the Jupyter Notebook Controller is deployed through charms will deploy Notebook Servers in different namespaces which will not contain juju labels. Steps to reproduce: # Bootstrapped on microk8s with storage DNS, ingress and metallb:10.64.140.43-10.64.140.49 enabled # Deploy the kubeflow-lite bundle following these instructions: https://charmed-kubeflow.io/docs/install # Create a Notebook Server like described in the "Creating a Kubeflow Notebook" section here: https://charmed-kubeflow.io/docs/kubeflow-basics # Check labels of the "test" notebook server pod: microk8s kubectl -n admin get pod/test-0 -o yaml == 2.== When creating resources through kubectl or istioctl. This is a pattern used in the istio sidecar charm. It does not happen when creating resources through a python library like lightkube. This can be reproduced the following way: # Bootstrapped on microk8s with storage DNS and ingress enabled juju deploy ch:istio-gateway istio-ingressgateway-operator --config=kind=ingress --trust juju deploy istio-pilot --trust juju relate istio-pilot istio-ingressgateway-operator # Describing the istio-ingressgateway pod (not the one for pebble) it will not have any labels. microk8s kubectl -n istio get pod/istio-ingressgateway -o yaml
2023-01-10 10:42:19 Harry Pidcock juju: importance Undecided Medium
2023-01-10 10:42:19 Harry Pidcock juju: status New Triaged
2023-01-10 10:42:19 Harry Pidcock juju: milestone 3.2-beta1
2023-04-03 16:09:54 Canonical Juju QA Bot juju: milestone 3.2-beta1 3.2-rc1
2023-05-13 00:35:25 Canonical Juju QA Bot juju: milestone 3.2-rc1 3.2.0
2023-05-26 09:44:18 Canonical Juju QA Bot juju: milestone 3.2.0 3.2.1
2023-07-12 14:19:52 Canonical Juju QA Bot juju: milestone 3.2.1 3.2.2
2023-08-04 03:45:41 Canonical Juju QA Bot juju: milestone 3.2.2 3.2.3
2023-08-28 12:25:07 Canonical Juju QA Bot juju: milestone 3.2.3 3.2.4
2023-11-16 15:08:13 Canonical Juju QA Bot juju: milestone 3.2.4 3.2.5
2023-11-27 07:32:02 Ian Booth juju: milestone 3.2.5
2023-11-27 07:32:09 Ian Booth tags k8s