Skip to content

Commit

Permalink
Update the referenced link to kuberentes network model
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav2107 authored and trierra committed Nov 16, 2021
1 parent e25fb5c commit ff6a733
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ kubectl get pods -l run=my-nginx -o yaml | grep podIP

You should be able to ssh into any node in your cluster and curl both IPs. Note that the containers are *not* using port 80 on the node, nor are there any special NAT rules to route traffic to the pod. This means you can run multiple nginx pods on the same node all using the same containerPort and access them from any other pod or node in your cluster using IP. Like Docker, ports can still be published to the host node's interfaces, but the need for this is radically diminished because of the networking model.

You can read more about the [Kubernetes Networking Model](/docs/concepts/cluster-administration/networking/#the-kubernetes-network-model) if you're curious.

## Creating a Service

Expand Down

0 comments on commit ff6a733

Please sign in to comment.