Correct cilium metrics port mapping (#10519)
Signed-off-by: Marc Brugger <m.brugger@bison-group.com>pull/10540/head
parent
0b2e5b2f82
commit
3f1409d87d
|
@ -43,6 +43,11 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- name: grpc
|
- name: grpc
|
||||||
containerPort: 4245
|
containerPort: 4245
|
||||||
|
{% if cilium_enable_prometheus %}
|
||||||
|
- name: prometheus
|
||||||
|
containerPort: 9966
|
||||||
|
protocol: TCP
|
||||||
|
{% endif %}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: grpc
|
port: grpc
|
||||||
|
|
|
@ -8,7 +8,7 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
annotations:
|
annotations:
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
prometheus.io/port: "9091"
|
prometheus.io/port: "{{ cilium_hubble_scrape_port }}"
|
||||||
labels:
|
labels:
|
||||||
k8s-app: hubble
|
k8s-app: hubble
|
||||||
spec:
|
spec:
|
||||||
|
@ -31,6 +31,9 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: hubble-relay
|
k8s-app: hubble-relay
|
||||||
|
annotations:
|
||||||
|
prometheus.io/scrape: 'true'
|
||||||
|
prometheus.io/port: "9966"
|
||||||
spec:
|
spec:
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|
Loading…
Reference in New Issue