Kubernetes Question of the Day 5


Userlevel 7
Badge +22

Day 5 on a Monday, just to keep everyone on their toes!

What type of Service will expose my Application outside of the cluster with minimal effort in an on premise cluster with no extra configuration?


6 comments

Userlevel 7
Badge +17

One option is for cluster internal exposition, one for cluster external exposition without further configuration, one other for external exposition with further configuration.

And the other three options… I don’t know anything about them, so I assume they are wrong… 🤣🤣🤣

Userlevel 7
Badge +20

Let’s see if I can keep on a roll.

Userlevel 7
Badge +13

more and more difficult

Userlevel 7
Badge +22

Answer NodePort. 

Loadbalancer requires something outside the cluster to provide an external IP.

 

I NodePort will simply the IP on the Nodes and a high up port over 30000 which can be random or set. Therefore you don’t need to add any extra configurations to get it working. Keep in mind Nodeport should only be used for testing and not production.

Userlevel 7
Badge +20

Woohoo got this one too. On to the next. 😂

Userlevel 7
Badge +9

Answer NodePort. 

Loadbalancer requires something outside the cluster to provide an external IP.

 

I NodePort will simply the IP on the Nodes and a high up port over 30000 which can be random or set. Therefore you don’t need to add any extra configurations to get it working. Keep in mind Nodeport should only be used for testing and not production.

Hello @Geoff Burke This means, in Production Load balancer should be used. 

Comment