Fix invalid port name in service monitoring

http-metrics1 port was not the service port name
defined for liveness

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna committed 2019-08-30 13:16:55 +05:30
1 parent fc713b61cf
commit 53e33d4e08
7 files changed
+10 -10

No files matched your search

@@ -141,7 +141,7 @@ metadata:
app: csi-liveness
spec:
ports:
- name: http-metrics
- name: csi-http-metrics
port: 8080
protocol: TCP
targetPort: 9081
@@ -136,7 +136,7 @@ metadata:
app: csi-liveness
spec:
ports:
- name: http-metrics
- name: csi-http-metrics
port: 8080
protocol: TCP
targetPort: 9081
@@ -156,7 +156,7 @@ metadata:
app: csi-liveness
spec:
ports:
- name: http-metrics
- name: csi-http-metrics
port: 8080
protocol: TCP
targetPort: 9081
@@ -165,7 +165,7 @@ metadata:
app: csi-liveness
spec:
ports:
- name: http-metrics
- name: csi-http-metrics
port: 8080
protocol: TCP
targetPort: 9080
@@ -158,7 +158,7 @@ metadata:
app: csi-liveness
spec:
ports:
- name: http-metrics
- name: csi-http-metrics
port: 8080
protocol: TCP
targetPort: 9080
@@ -160,7 +160,7 @@ metadata:
app: csi-liveness
spec:
ports:
- name: http-metrics
- name: csi-http-metrics
port: 8080
protocol: TCP
targetPort: 9080
@@ -5,7 +5,7 @@ metadata:
name: csi-liveness
namespace: rook-ceph
labels:
team: rook
team: rook
spec:
namespaceSelector:
matchNames:
@@ -14,6 +14,6 @@ spec:
matchLabels:
app: csi-liveness
endpoints:
- port: http-metrics1
path: /metrics
interval: 5s
- port: csi-http-metrics
path: /metrics
interval: 5s