Files
deprecated-helm-charts/stable/linkerd/templates/service.yaml
T

23 lines
589 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ template "linkerd.fullname" . }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
annotations:
prometheus.io/scrape: {{ .Values.prometheus.scrape | quote }}
prometheus.io/probe: {{ .Values.prometheus.probe | quote }}
prometheus.io/path: {{ .Values.prometheus.path | quote }}
prometheus.io/port: "9990"
spec:
type: {{ .Values.service.type }}
ports:
- name: outgoing
port: 4140
- name: incoming
port: 4141
- name: admin
port: 9990
selector:
app: {{ template "linkerd.fullname" . }}