Service
A Kubernetes Service is an abstract resource that defines a logical set of Pods and the policy by which they can be accessed. It provides a stable virtual IP (ClusterIP), DNS entry and, depending on the type, can expose workloads internally within the cluster or externally to the Internet through NodePorts or cloud load-balancers. Services decouple network identity and discovery from the underlying Pods, allowing them to scale up, down, or be replaced without changing the connection endpoint.
For full details see the official Kubernetes documentation: https://kubernetes.io/docs/concepts/services-networking/service/
Terrafrom Mappings:
kubernetes_service.metadata[0].name
kubernetes_service_v1.metadata[0].name
Supported Methods​
GET
: Get a Service by nameLIST
: List all ServicesSEARCH
: Search for a Service using the ListOptions JSON format e.g.{"labelSelector": "app=wordpress"}
Possible Links​
Pod
​
A Service selects one or more Pods via label selectors and forwards traffic to them. Overmind links Services to the Pods that currently match their selector so you can see which workloads will receive traffic.
ip
​
Each Service is assigned one or more IP addresses (ClusterIP, ExternalIP, LoadBalancer IP). Overmind creates links to these IP resources to show the concrete network endpoints associated with the Service.
dns
​
Kubernetes automatically registers DNS records for every Service (e.g., my-service.my-namespace.svc.cluster.local
). Overmind links Services to their corresponding DNS entries so you can trace name resolution to the backing workloads.