Skip to content
Snippets Groups Projects
Unverified Commit 3f1409d8 authored by Marc Brugger's avatar Marc Brugger Committed by GitHub
Browse files

Correct cilium metrics port mapping (#10519)

parent 0b2e5b2f
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,11 @@ spec:
ports:
- name: grpc
containerPort: 4245
{% if cilium_enable_prometheus %}
- name: prometheus
containerPort: 9966
protocol: TCP
{% endif %}
readinessProbe:
tcpSocket:
port: grpc
......
......@@ -8,7 +8,7 @@ metadata:
namespace: kube-system
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: "9091"
prometheus.io/port: "{{ cilium_hubble_scrape_port }}"
labels:
k8s-app: hubble
spec:
......@@ -31,6 +31,9 @@ metadata:
namespace: kube-system
labels:
k8s-app: hubble-relay
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: "9966"
spec:
clusterIP: None
type: ClusterIP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment