Services Configuration

Services Configuration Properties describes the property used to specify whether network traffic is sent to endpoints on the same node or allowed to be sent to other endpoints in the cluster.

Table 1. Services Configuration Properties
Property Description
global.services.externalTrafficPolicy If this property is set, the same value is set on all services that are of type NodePort or LoadBalancer. If set to Local, traffic is sent to endpoints on the same node to reduce network hops without shaping traffic.

The allowed values are Cluster and Local. This property is not set to any value by default.

For more information about the attributes that can be created on a service, see the discussion about ServiceSpec in Kubernetes documentation at the Kubernetes website.