https://platformengineering.org logo
Title
p

Phevos Skordos

03/28/2023, 3:23 PM
well i created my first k8s cluster using linode, installed mongodb , mongo express and ingress using helm and created my deployment, service and ingress yaml files, so far so good, all pods are up and running according to the manuals i followed. my application is accessible using localhost but ingress does not seem to work with the node balancer created in linode, which is connected to ingress.
h

Hugo Pinheiro

03/28/2023, 3:45 PM
Did you take a look at this walk through to expose it to the outside looks like it needs a bit of dns setup and a ingress file 🙂 - https://www.linode.com/docs/guides/deploy-nginx-ingress-on-lke/
t

Thomas Kraus

03/28/2023, 3:55 PM
Some further (generic) details: • configuring a load balancer outside of the cluster is done by a load balancer controller (pod that would run in kube-system namespace). If it's installed, see if you can locate it and tail its logs • your ingress resource describes what configuration the controller should put in the external load balancer, e.g. for which hostname / url path to listen and forward the traffic to your service; upon (un)deploying this resource the controller should be triggered to do something • the ingress resource may need to specify the "ingress class" , a resource which should be created when installing the controller
p

Phevos Skordos

03/28/2023, 4:26 PM
thank you so much for the info! i am on it already!
d

Deepak Verma

05/01/2023, 9:45 AM
you can check your ingress service. kubectl get service <namespace> also you can describe your service to check correct logs . kubectl describe <svc-name> <namespace>