Terchila Marian
Terchila Marian

Reputation: 2520

Kubernetes, how to expose home cluster ip over the internet

I just got started with kubernetes since I'mm running a lot of services on my home server and I’ve thought would be a good idea to have everything in one place.This is what I intend doing:

My end goal being to access the gateway outside my home network.

Could you please advise me on how to connect the pod to the domain please? I couldn't find anything over the internet that I could understand.

Upvotes: 0

Views: 343

Answers (1)

paltaa
paltaa

Reputation: 3244

I'm not quite sure what do you mean by gateway pod, I'm going to assume its the lack of understanding so:

What you need is to set up an ingress controller (nginx ingress controller works like a charm), which then will let you create ingress objects.

After you create the ingress object and you can make requests to localhost:80/your_service, you could use ngrok (https://ngrok.com/docs) to expose your port to the internet.

Upvotes: 2

Related Questions