Home > Mobile >  Can't access NodePort service in OVH Managed Kubernetes cluster
Can't access NodePort service in OVH Managed Kubernetes cluster

Time:06-25

In my enter image description here

CodePudding user response:

In AWS, you have things called security groups... you may have the same kind of thing in you k8s provider (or even your local machine). Please add those ports to the security groups or local firewalls. In AWS you may need to bind those security groups to your EC2 instance (Ingress node) as well.

CodePudding user response:

Well i can't help any further i guess, but i would check the following:

  1. Are you using the public node ip address?
  2. Did you configure you service as Loadbalancer properly? https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
  3. Do you have a loadbalancer and set it up properly?
  4. Did you install any Ingress controller? (ingress-nginx?) You may need to add a Daemonset for this ingress-controller to duplicate the ingress-controller pod on each node in your cluster

Otherwise, i would suggest an Ingress, (if this works, you may exclude any firewall related issues).

This page explains very well: What's the difference between ClusterIP, NodePort and LoadBalancer service types in Kubernetes?

  • Related