feat(metrics): Calico service and monitor added

!1
This commit is contained in:
2023-09-19 23:18:27 +09:30
parent 9e3f33ae56
commit 63c0381bd1
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,20 @@
---
{{- if eq .Values.nfc_monitoring.kubernetes.networking "calico" -}}
apiVersion: v1
kind: Service
metadata:
name: calico-metrics
namespace: kube-system
labels:
k8s-app: calico-node
spec:
clusterIP: None
selector:
k8s-app: calico-node
ports:
- port: 9091
name: metrics
targetPort: 9091
{{- end -}}