minikube expose service on specific port
问题 Is it possible to expose a service on a specific port using minikube ? kubectl expose deployment my-deployment --type=NodePort --port=80 does not throw an error but when calling minikube service my-deployment --url it results in something like: http://192.168.99.100:31512 and it is not available on port 80 but on port 31512 instead. 回答1: Valid ports for minikube of type nodePort by default are 30000-32767 according to https://kubernetes.io/docs/concepts/services-networking/service/#nodeport I