metrics-server-service.yaml 297 B

12345678910111213141516
  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: metrics-server
  6. namespace: kube-system
  7. labels:
  8. kubernetes.io/name: "Metrics-server"
  9. kubernetes.io/cluster-service: "true"
  10. spec:
  11. selector:
  12. k8s-app: metrics-server
  13. ports:
  14. - port: 443
  15. protocol: TCP
  16. targetPort: main-port