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

18 lines
279 B
YAML
Raw Normal View History

2020-07-06 11:32:24 +00:00
{{- 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 }}