Report this

What is the reason for this report?

Managed Kubernetes, how many public IPs?

Posted on January 17, 2021

Hi,

I have created a small k8s managed cluster in DO. I have 2 nodes.

How many public IPs will I have ?

My nodes have their public IPs but are these available to be mapped for the cluster ?

I want to run 2 x coredns which 2 separate IPs for the name servers.

It’s quite confusing :-(

What External IPs will be exposed, is it something over than the node’s public IPs ?

Where can I view the public IP or IPs ?

I will be running traefik to route my normal website data etc which is going to be installed as an ingress controller - so I don’t require DO Load balancer component, as far as I am aware.

So … to cut a long story short :-)

I will run traefik as an ingress controller that will router my standard websites and other things - I don’t require more than 1 IP for this.

I want to run 2 x coredns, 1 on node1 and 1 on node2, these require their own IPs

Anybody lend a hand in explaining the above scenario, am I on the right track ?

Maybe its a simple case of running the coredns on each node in the cluster, exposing the port 53 and then I can use the public IPs of each node ?

I actually created some floating IPs that point to my 2 nodes, so these will always be the same IP weather I destroy nodes or what ever.

Thanks in advance

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.