I'm learning k8s & nodePort
I don't know what did i wrong...
How can i access that nodejs app via master nodes ip??
Thank you.
Try to install an ingress controller
I prefer the helm way:
helm repo add nginx-stable https://helm.nginx.com/stable
helm repo update
helm install nginx-ingress nginx-stable/nginx-ingress --set rbac.create=true
Then you can access to you nodepert via the node public IP.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.