KubeZero/charts/kubezero-calico/templates/service.yaml

18 lines
279 B
YAML

{{- if .Values.prometheus }}
kind: Service
metadata:
labels:
k8s-app: calico-node
name: calico-node
spec:
clusterIP: None
ports:
- name: metrics
port: 9091
protocol: TCP
targetPort: 9091
selector:
k8s-app: calico-node
type: ClusterIP
{{- end }}