What Is Kubernetes Service?
In Kubernetes, each pod is assigned its own IP address but the pods are ephemeral that is they can be destroyed easily and when a new pod is created in place of them a new IP address is assigned to them. Here the role of services comes into the picture. A service is like a permanent IP address assigned to a pod. A service IP address is stable. So instead of sending a request to a pod, the client makes a request to a service, and the service forwards that request to the desired pod. Services also help in load-balancing.
Read – Kubernetes – Service
Types Of Kubernetes Service
There are four types of services available in Kubernetes.
- ClusterIP
- NodePort
- LoadBalancer
- Headless
Setup Jenkins On Kubernetes Cluster
Setting up Jenkins on a Kubernetes cluster involves deploying Jenkins as a containerized application within the cluster. Kubernetes is Born in Google, written in Go/Golang. Donated to CNCF(Cloud native computing foundation) in 2014. Kubernetes v1.0 was released on July 21, 2015. Current stable release v1.29