Welcome to the Linux Foundation Forum!

How are the docker port and Service and Pod ports related

RahulRege Posts: 2
edited July 2019 in LFD259 Class Forum

Hello everyone, this is my first post as I recently started LFD259 and at the Pod and Service creation exercise. I have worked with docker before, so trying to map how things are connected.

When I create the Pod, I do not see the ports on the Node2 getting created in the sudo docker ps -a. I then added a Service on top of it as well as added the NodePort. I can reach to my service just fine but I do not see any networking on my docker container.

I imagine the CNI plugin is doing the magic but wondering if anyone can shed some light or would reviewing the CNI documentation (it was mentioned as a resource in the lab) would be the way to go .


Best Answer



Upcoming Training