c12s-kubespray/roles/kubernetes-apps/metrics_server/templates/metrics-server-service.yaml.j2

18 lines
347 B
Text
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: metrics-server
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: Reconcile
app.kubernetes.io/name: "metrics-server"
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: metrics-server
ports:
2021-01-19 13:45:44 +00:00
- name: https
port: 443
protocol: TCP
targetPort: https