Skip to content

Commit

Permalink
updated service.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed May 7, 2023
1 parent 0ee92ec commit 8b63cdc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ spec:
# - cons:
# - can cause load imbalances between pods (which is why this is not the default)
# - not needed for HTTP(s) services using Ingress -> default ClusterIP services
#
# XXX: beware externalTrafficPolicy: Local may skip a hop on GKE going directly to a node with a pod via a health check, but if the healthcheck fails and it goes to a random node this could cause timeouts:
#
# https://cloud.google.com/knowledge/kb/externaltrafficpolicy-cluster-works-but-local-doesn-t-000004708
#
#externalTrafficPolicy: Local
externalTrafficPolicy: Cluster # default, distribute to all service endpoints (pods) inside cluster

Expand Down

0 comments on commit 8b63cdc

Please sign in to comment.