kubeasz/manifests/metrics-server/metrics-server-service.yaml

17 lines
291 B
YAML
Raw Normal View History

2018-06-17 10:46:25 +08:00
---
apiVersion: v1
kind: Service
metadata:
name: metrics-server
namespace: kube-system
labels:
kubernetes.io/name: "Metrics-server"
2019-07-02 21:58:27 +08:00
kubernetes.io/cluster-service: "true"
2018-06-17 10:46:25 +08:00
spec:
selector:
k8s-app: metrics-server
ports:
- port: 443
protocol: TCP
targetPort: 443