Question - What are the different types of services in Kubernetes?
Answer -
The different types of services that support Kubernetes are as follows:
- Cluster IP: It exposes the services on cluster internal IP and makes the services reachable within the cluster only.
- Node port: It exposes the services on each node’s IP at the static port.
- Load balancer: It provides services externally using a cloud provider’s load balancer. It creates the service to route the external load balancer automatically.
- External name: It navigates the service to the contents of the external field by returning the CNAME record by its value.