Jorge Merlino

Results 9 comments of Jorge Merlino

I tested this code but does not work for me. If I try to unattach a volume after this version of diskIsAttached returns true I get this error: `Invalid volume:...

COS bundle ```yaml bundle: kubernetes saas: remote-b5f775f74cf040ec8ba9f05ed7057a5b: {} applications: alertmanager: charm: alertmanager-k8s channel: latest/stable revision: 128 resources: alertmanager-image: 95 scale: 1 constraints: arch=amd64 storage: data: kubernetes,1,1024M trust: true catalogue: charm:...

K8s bundle: ```yaml default-base: [email protected]/stable saas: grafana: url: cos-k8s-controller-2:admin/cos.grafana prometheus: url: cos-k8s-controller-2:admin/cos.prometheus applications: containerd: charm: containerd channel: latest/stable revision: 82 resources: containerd: 2 options: http_proxy: http://squid.internal:3128 https_proxy: http://squid.internal:3128 no_proxy: 127.0.0.1,localhost,::1,10.149.0.0/16,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16...

Doing some more research I found that in fact the /metrics/cadvisor can be queried in worked nodes too. See for example this snippet from /etc/grafana-agent.yaml ``` authorization: credentials: kubernetes-worker/1::n9... job_name:...

Adding the tokens relations fixed this. Thank you for your time.

Here they are: 1 https://pastebin.ubuntu.com/p/jp9GWrtNfp 2 https://pastebin.ubuntu.com/p/xR5BRtGTpq

Thanks for you r answer @simskij If this is the case, the problem is that they are getting `KubeletTooManyPods` alerts based on stale data. Maybe the query should be changed...

Here are the requested grafana-agent.yaml files 1. [https://pastebin.ubuntu.com/p/QktZgvjnyp/](https://pastebin.ubuntu.com/p/QktZgvjnyp/) 2. [https://pastebin.ubuntu.com/p/dNKPrPfsdW/](https://pastebin.ubuntu.com/p/dNKPrPfsdW/)

I have run my reproducer on a cluster with three control planes but I'm not sure this is fixing the same error. What I see in this case is pods...