Skip to main content

Service



Resource Icon

Resource Overview

An abstract Kubernetes resource that provides a single entry point for Pods and manages communication between those Pods.

Associated Resources

Parent Resource

Connected Resources

Resource Setting Values

  • service_name : Name of the Service resource
  • namespace : Namespace where Service resources will be deployed
  • annotations : A key-value used to display necessary information in the Kubernetes system
  • labels : To distinguish objects, the user arbitrarily specifies the desired value
  • selector : Route service traffic to Pods using the key-value of the label that matches the selector
  • type : Specifies the type of service - ClusterIP,NodePort,LoadBalancer
  • session_affinity : A policy that ensures that requests from clients go only to specific pods - None,clientIP
  • port : List of ports exposed by the service
    • name : Port configuration name
      • protocol : IP protocol for that port - TCP,UDP
      • port : Port number exposed by the service
      • target_port : Number of ports to be accessed by the serviced pod

Reference Materials