Service

Configures network access to an app

Details

API reference
graph BT; classDef highlight fill:#AFFC41,stroke:#141B41,stroke-width:2px; classDef net fill:#EBEBEB,stroke:#414141,stroke-width:1px; pod[Pod]--is exposed by-->svc[Service] svc-.configures.->lb(LoadBalancer) svc-.configures.->np(NodePort) svc-.configures.->cip(ClusterIP) lb-.direct traffic to.->pod np-.direct traffic to.->pod cip-.direct traffic to.->pod class svc highlight class lb,np,cip net

Service is an abstraction layer that configures underlying network infrastructure to provide an access to ports exposed by a Pod.

There are four types of Service: