From the course: Kubernetes Network and Cluster Hardening by Pearson
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Understanding Ingress - Kubernetes Tutorial
From the course: Kubernetes Network and Cluster Hardening by Pearson
Understanding Ingress
In order to be able to get access to applications that live within Kubernetes, there are four primary methods. First is the cluster IP. Then you have the node port, load balancer, and then last but not least, the ingress. The cluster IP is designed to be able to give you the capability of having a single IP address that can be used when you create a service. Now, the whole idea behind a service is it provides that consistent IP for the pods. Because pods, whenever they come up, they're going to get their own IP address. That's going to change every time you instantiate a new pod. The ability for you to be able to gain access to these within the cluster is very important when you're building services, and your pods need to communicate to each other. So this ability for us to leverage the cluster IP to be able to communicate internally is something that is used very often as we design our applications. Now, the NodePort itself can be used to expose a service on each of the node's public…