type coef

This commit is contained in:
ari committed 2024-07-18 10:03:43 -04:00
1 parent b772998c22
commit 4bcbb03640
2 files changed
+6 -6

No files matched your search

@@ -6,12 +6,12 @@ metadata:
name: "rp-metrics-{{.name}}"
labels:
app.kubernetes.io/name: rp-metrics
app.kubernetes.io/instance: {{ .name }}
app.kubernetes.io/instance: "{{ .name }}"
subsets:
- addresses:
- ip: "{{ .ip }}"
ports:
- port: {{ .port | default 80 }}
- port: "{{ .port | default 80 }}"
protocol: TCP
---
apiVersion: v1
@@ -20,11 +20,11 @@ metadata:
name: "rp-metrics-{{.name}}"
labels:
app.kubernetes.io/name: rp-metrics
app.kubernetes.io/instance: {{ .name }}
app.kubernetes.io/instance: "{{ .name }}"
spec:
type: ClusterIP
ports:
- port: 80
- port: "80"
protocol: TCP
targetPort: {{ .port | default 9100 }}
targetPort: "{{ .port | default 9100 }}"
{{ end }}
@@ -10,7 +10,7 @@ spec:
endpoints:
- honorLabels: true
path: "/metrics"
port: 80
port: "80"
scheme: http
scrapeTimeout: "30s"
jobLabel: external-svc-monitor