012aaadacc
A new release is added to the cluster: Name: metrics-server Namespace: kube-system Version: 3.11.0 Chart: metrics-server/metrics-server
24 lines
607 B
YAML
24 lines
607 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "metrics-server.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "metrics-server.labels" . | nindent 4 }}
|
|
{{- with .Values.service.labels -}}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.service.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- name: https
|
|
port: {{ .Values.service.port }}
|
|
protocol: TCP
|
|
targetPort: https
|
|
selector:
|
|
{{- include "metrics-server.selectorLabels" . | nindent 4 }}
|