QuestionQ256Verified/Kubernetes FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhat are the two primary modes of Service discovery within a Kubernetes cluster?AEnvironment variables and DNSBAPI Calls and LDAPCLabels and RadiusDSelectors and DHCPShow AnswerAnswerExplanationKubernetes supports environment variables and DNS as its two primary mechanisms for discovering Services from within a cluster. Kubelet injects Service-related environment variables into Pods, while cluster DNS provides DNS records for Services.Learn moreKubernetes Service documentationShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion