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

19 lines
294 B
YAML
Raw Normal View History

2020-07-06 11:32:24 +00:00
{{- if .Values.prometheus }}
apiVersion: v1
2020-07-06 11:32:24 +00:00
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 }}