File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,8 @@ The following table lists the configurable parameters of the nextcloud chart and
215215| ` service.nodePort ` | NodePort for service type NodePort | ` nil ` |
216216| ` service.ipFamilies ` | Set ipFamilies as in k8s service objects | ` nil ` |
217217| ` service.ipFamyPolicy ` | define IP protocol bindings as in k8s service objects | ` nil ` |
218+ | ` service.sessionAffinity ` | Kubernetes service Session Affinity | ` nil ` |
219+ | ` service.sessionAffinityConfig ` | Kubernetes service Session Affinity configuration | ` {} ` |
218220| ` phpClientHttpsFix.enabled ` | Sets OVERWRITEPROTOCOL for https ingress redirect | ` false ` |
219221| ` phpClientHttpsFix.protocol ` | Sets OVERWRITEPROTOCOL for https ingress redirect | ` https ` |
220222| ` resources ` | CPU/Memory resource requests/limits | ` {} ` |
Original file line number Diff line number Diff line change 2323 {{- with .Values.service.ipFamilyPolicy }}
2424 ipFamilyPolicy : {{ . }}
2525 {{- end }}
26+ {{- with .Values.service.sessionAffinity }}
27+ sessionAffinity : {{ . }}
28+ {{- end }}
29+ {{- with .Values.service.sessionAffinityConfig }}
30+ sessionAffinityConfig :
31+ {{- toYaml . | nindent 4 }}
32+ {{- end }}
2633 ports :
2734 - port : {{ .Values.service.port }}
2835 targetPort : {{ .Values.nextcloud.containerPort }}
Original file line number Diff line number Diff line change @@ -617,6 +617,10 @@ service:
617617 nodePort :
618618 # -- use additional annotation on service for nextcloud
619619 annotations : {}
620+ # -- Set this to "ClientIP" to make sure that connections from the same client
621+ # are passed to the same Nextcloud pod each time.
622+ sessionAffinity : " "
623+ sessionAffinityConfig : {}
620624
621625# # Enable persistence using Persistent Volume Claims
622626# # ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
You can’t perform that action at this time.
0 commit comments