c12s-kubespray/roles/kubernetes-apps/metrics_server/templates/metrics-server-service.yaml.j2
cyril-corbon cd601c77c7
feat: upgrade metrics server to v0.5.2 (#8338)
Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
2022-01-07 08:18:33 -08:00

17 lines
347 B
Django/Jinja

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:
- name: https
port: 443
protocol: TCP
targetPort: https