...

/

Access the Application

Access the Application

Learn how to access the application deployed on Kubernetes.

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.

Press + to interact
A Pod and a Service object referencing the same label
A Pod and a Service object referencing the same 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 ...