apiVersion: v1
kind: Service
metadata:
  namespace: kube-system
  name: dashboard-nodeport
spec:
  type: NodePort
  externalTrafficPolicy: Cluster
  ports:
  - port: 8443
    protocol: TCP
    targetPort: 8443
    nodePort: 30443
    name: dashboard
  selector:
    k8s-app: kubernetes-dashboard
