Kubernetes NetworkPolicies and Prometheus

25 views
Skip to first unread message

Omero Saienni

unread,
Mar 16, 2023, 12:54:47 AM3/16/23
to Prometheus Users
We want to create a NetworkPolicy for the namespace that runs Prometheus. But when I create the NetworkPolicy and bounce the Prometheus Pods.

We however run into errors when the pods restart:
```
failed to list *v1.Endpoints: Get \"https://IPHIDDEN:443/api/v1/namespaces/NAMESPACEHIDDEN/endpoints?limit=500&resourceVersion=0\": dial tcp IPHIDDEN:443: i/o timeout"
```

How do you advise we create NetworkPolicies around Prometheus in Kubernetes?
Reply all
Reply to author
Forward
0 new messages