kubernetes-training

Pod

Services

Kubernetes Services enable communication between various components within and outside of the application. Kubernetes Services helps us connect applications together with other applications or users.

Nodeport service

To link the service to the pod, bring the labels section of pod-definition.yaml to selector

![[Pasted_image_20240626085826.png]]

Cluster IP

![[Pasted image 20240626094726.png]]

Load balancer

Differences between Nodeport, ClusterIP, and Loadbalancer