How to expose a Kubernetes service on a specific Nodeport? kubectl delete service kubernetes-dashboard -n kube-system Expose the Dashboard deployment as a NodePort kubectl expose deployment kubernetes-dashboard -n kube-system --type=NodePort The above will assign a random port >= 30000 So use the Patch command to assign the port to a known, unused and desired port >= 30000