How do I achieve a clusterIP scenario in my machine-Kubernetes?

Joined
Apr 16, 2023
Messages
147
Reaction score
16
Credits
1,443
clusterip.png

Source: https://octopus.com/blog/difference-clusterip-nodeport-loadbalancer-kubernetes
I want to test 2 things:
If pod-pod communication works? (Yes)
If external user can communicate with pods?(No)
How do I achieve this?
 


There are 3 or 4 ways to do this.
Clustering the web server is the first thing. How would you do this without docker/podman/kubernetes?

Usually for web servers you do some kind of load balancing, proxy server, DNS, or a hardware device.
Container to container connectivity isn't needed for any of these.
 


Top