Kubernetes Services

The Kubernetes Services table provides comprehensive information about Kubernetes services monitored by Datadog across your clusters. Each row represents a Kubernetes service and includes metadata about annotations, labels, service type (ClusterIP, NodePort, LoadBalancer, ExternalName), cluster IP, external IPs, external name for ExternalName services, external traffic policy (Cluster, Local), health check node ports, load balancer configuration (IP, source ranges), port configurations, pod selectors, session affinity settings (None, ClientIP), and whether not-ready endpoints should be published. This table enables you to monitor service discovery and networking, track load balancer configurations and external access points, analyze service-to-pod mappings via selectors, troubleshoot connectivity issues, monitor session affinity for stateful applications, and correlate service definitions with traffic patterns. You can filter and view resources by kube_service tag in Datadog. Services provide stable networking endpoints for accessing groups of pods, abstracting away pod IP changes and enabling load balancing.

k8s.services

Fields

TitleIDTypeData TypeDescription
AnnotationsannotationscorehstoreKey-value pairs containing annotations attached to the service, stored as hstore.
Cluster Namecluster_namecorestringThe name of the Kubernetes cluster where the service is running.
Creation Timestampcreation_timestampcoretimestampThe timestamp when the service was created.
Deletion Timestampdeletion_timestampcoretimestampThe timestamp when the service deletion was requested.
LabelslabelscorehstoreKey-value pairs containing labels attached to the service, stored as hstore.
Service NamenamecorestringThe name of the service.
NamespacenamespacecorestringThe Kubernetes namespace where the service is running.
Spec Cluster IPspec_cluster_ipcorestringThe internal cluster IP address assigned to the service.
Spec External IPsspec_external_ipscorearray<string>List of external IP addresses for the service.
Spec External Namespec_external_namecorestringThe external DNS name for ExternalName type services.
Spec External Traffic Policyspec_external_traffic_policycorestringThe external traffic policy for the service (e.g., Cluster, Local).
Spec Health Check Node Portspec_health_check_node_portcoreint64The health check node port for services with external traffic policy Local.
Spec Load Balancer IPspec_load_balancer_ipcorestringThe requested load balancer IP address for LoadBalancer type services.
Spec Load Balancer Source Rangesspec_load_balancer_source_rangescorearray<string>List of source IP ranges allowed to access the load balancer.
Spec Portsspec_portscorejsonThe port configurations for the service, stored as JSON.
Spec Publish Not Ready Addressesspec_publish_not_ready_addressescoreboolIndicates whether endpoints that are not ready should be published.
Spec Selectorspec_selectorcorejsonThe label selector used to select pods for the service, stored as JSON.
Spec Session Affinityspec_session_affinitycorestringThe session affinity setting for the service (e.g., None, ClientIP).
Spec Session Affinity Configspec_session_affinity_configcorejsonThe session affinity configuration, stored as JSON.
Spec Typespec_typecorestringThe type of service (e.g., ClusterIP, NodePort, LoadBalancer, ExternalName).
Resource TagstagscorehstoreThis field contains tags represented as key-value pairs, used to categorize and provide metadata about the service.
UIDuidcorestringThe unique identifier of the service.