Configures network access to an app


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) traffic to.->pod traffic to.->pod 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: