Which are the two primary modes for Service discovery within a Kubernetes cluster?
Which are the two primary modes for Service discovery within a Kubernetes cluster?
The two primary modes for Service discovery within a Kubernetes cluster are Environment variables and DNS. Environment variables are used to make service information available to the pods. DNS is used to provide hostname resolution for services. These methods streamline the process of discovering and connecting to services within the cluster.
https://www.densify.com/kubernetes-autoscaling/kubernetes-service-discovery/ .. please see conclusion