Set an externalTrafficPolicy. (#4353)

This commit is contained in:
Tim Stoop
2018-03-27 12:40:01 -07:00
committed by k8s-ci-robot
parent caab81fa1a
commit e2ffed17ab
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: traefik
version: 1.25.2
version: 1.26.0
appVersion: 1.5.4
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
keywords:
+1
View File
@@ -91,6 +91,7 @@ The following table lists the configurable parameters of the Traefik chart and t
| `serviceType` | A valid Kubernetes service type | `LoadBalancer` |
| `loadBalancerIP` | An available static IP you have reserved on your cloud platform | None |
| `loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | None |
| `externalTrafficPolicy` | Set the externalTrafficPolicy in the Service to either Cluster or Local | `Cluster` |
| `replicas` | The number of replicas to run; __NOTE:__ Full Traefik clustering with leader election is not yet supported, which can affect any configured Let's Encrypt setup; see Clustering section | `1` |
| `cpuRequest` | Initial share of CPU requested per Traefik pod | `100m` |
| `memoryRequest` | Initial share of memory requested per Traefik pod | `20Mi` |
+3
View File
@@ -29,6 +29,9 @@ spec:
- {{ $cidr }}
{{- end }}
{{- end }}
{{- if .Values.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.externalTrafficPolicy }}
{{- end }}
selector:
app: {{ template "traefik.name" . }}
release: {{ .Release.Name }}
+1
View File
@@ -5,6 +5,7 @@ imageTag: 1.5.4
serviceType: LoadBalancer
loadBalancerIP:
# loadBalancerSourceRanges: []
externalTrafficPolicy: Cluster
replicas: 1
cpuRequest: 100m
memoryRequest: 20Mi