Kubernetes Service Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:
=Service=
=Service=


A Service is a mechanism that provides reliable networking to a set of pods. As described in the [[Kubernetes_Pod_Concepts#Lifecycle|Pod Lifecycle]] section, pods may come and go, and every time a new replacement pod is brought up, it comes with a new IP address.
A Service is a mechanism that provides reliable networking to a set of pods. As described in the [[Kubernetes_Pod_Concepts#Lifecycle|Pod Lifecycle]] section, pods may come and go, and every time a new replacement pod is brought up, it comes with a new IP address. The service fronts the pods and provides a reliable name and IP for the pods "represented" by that service. Additionally, the is automatically registered with the [[Kubernetes_Networking_Concepts#The_DNS_Service|cluster's DNS service]] so cluster components can find services by name. Also, in case of two or more pods, the service load balances requests between the available pods.
 
A Service is automatically registered with the [[Kubernetes_Networking_Concepts#The_DNS_Service|cluster's DNS service]] so cluster components can find services by name.


==ClusterIP==
==ClusterIP==

Revision as of 23:07, 21 August 2019

Internal

Service

A Service is a mechanism that provides reliable networking to a set of pods. As described in the Pod Lifecycle section, pods may come and go, and every time a new replacement pod is brought up, it comes with a new IP address. The service fronts the pods and provides a reliable name and IP for the pods "represented" by that service. Additionally, the is automatically registered with the cluster's DNS service so cluster components can find services by name. Also, in case of two or more pods, the service load balances requests between the available pods.

ClusterIP

NodePort

LoadBalancer

ExternalName

Endpoint

Endpoint Controller

The endpoint controller is part of the controller manager.