Service Properties

Kubernetes services offer a way to expose and manage network access to a set of pods within a Kubernetes cluster. They offer stable endpoints and load balancing to ensure reliable communication between different components of an application regardless of the pods' life cycles.

Service Properties describes the service properties:

Table 1. Service Properties
Name Description
service.enabled Set this to true to enable the service in the application's Helm chart. The default value is false.
service.additionalLabels More labels for the service.
service.annotations Annotations for the service.
service.ports A map of the ports for the service, with each port identified by a port number integer key. This key is used to set the containerPort field.
service.type The service type, for example, ClusterIP.
service.clusterIP The fixed IP address for the ClusterIP service. Set this to None for a headless service.
This is an example of a service properties configuration:
service:
  enabled: true
  ports:
    80:
      name: http
      protocol: TCP
      targetPort: http
    443:
      name: https
      protocol: TCP
      targetPort: https
  type: NodePort