Access the Application
Learn how to access the application deployed on Kubernetes.
We'll cover the following...
We'll cover the following...
A quick word on labels
Labels are the main way that Kubernetes connects objects. If we look closely at the pod.yml and svc.yml files, we’ll see they both reference the project: qsk-book label.
The Service accepts traffic on port 8080 and forwards it, on port 8080, to all Pods with the project: qsk-book label. It also maintains an up-to-date list of Pods with the label. Currently, only one Pod has the label. However, if we add more, Kubernetes will forward traffic to ...