> Kubernetes Networking Concept in Detail:

Theory:

Kubernetes Networking addresses four concerns:

  1. containers within a pod use networking to communicate via loopback
  2. cluster networking provides communication between different pods
  3. the service resources lets you expose an application running in pods to be reachable from outside your cluster
  4. you can also use services to publish services only for consumption inside your cluster. container to container communication on same pod happen through localhost within the containers.

Screenshot (1331).png

  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Screenshot (1333).png

LAB:

> Create a new AWS Instance named “Minikube” on T2-Medium & access it via PUTTY as we do, then do the rest lab: