File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ metadata:
10
10
{{- toYaml .Values.coder.service.annotations | nindent 4 }}
11
11
spec :
12
12
type : {{ .Values.coder.service.type }}
13
- sessionAffinity : ClientIP
13
+ sessionAffinity : {{ .Values.coder.service.sessionAffinity }}
14
14
ports :
15
15
- name : " http"
16
16
port : 80
Original file line number Diff line number Diff line change @@ -121,6 +121,11 @@ coder:
121
121
# coder.service.type -- The type of service to expose. See:
122
122
# https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
123
123
type : LoadBalancer
124
+ # coder.service.sessionAffinity -- Must be set to ClientIP or None
125
+ # AWS ELB does not support session stickiness based on ClientIP, so you must set this to None.
126
+ # The error message you might see: "Unsupported load balancer affinity: ClientIP"
127
+ # https://kubernetes.io/docs/reference/networking/virtual-ips/#session-affinity
128
+ sessionAffinity : ClientIP
124
129
# coder.service.externalTrafficPolicy -- The external traffic policy to use.
125
130
# You may need to change this to "Local" to preserve the source IP address
126
131
# in some situations.
You can’t perform that action at this time.
0 commit comments