kubernetes-handbook/manifests/dashboard/dashboard-service.yaml

17 lines
339 B
YAML
Raw Normal View History

2017-04-14 17:39:40 +08:00
apiVersion: v1
kind: Service
metadata:
name: kubernetes-dashboard
namespace: kube-system
labels:
k8s-app: kubernetes-dashboard
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
type: NodePort
selector:
k8s-app: kubernetes-dashboard
ports:
- port: 80
targetPort: 9090