File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ description: A Redis database for use inside a Kubernetes cluster.
99maintainers :
1010 - name : Drycc Team
1111 email : engineering@drycc.com
12- version : v1.0 .0
12+ version : v1.1 .0
Original file line number Diff line number Diff line change 1818 labels :
1919 app : drycc-redis
2020 spec :
21- {{- include "common.affinities.pods.soft" (dict "key" "app" "values" (list "drycc-redis")) | indent 6 }}
21+ affinity :
22+ podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset.type "key" .Values.podAffinityPreset.key "values" .Values.podAffinityPreset.values ) | nindent 10 }}
23+ podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset.type "key" .Values.podAntiAffinityPreset.key "values" .Values.podAntiAffinityPreset.values ) | nindent 10 }}
24+ nodeAffinity : {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values ) | nindent 10 }}
2225 containers :
2326 - name : drycc-redis
2427 image : {{.Values.imageRegistry}}/{{.Values.imageOrg}}/redis:{{ .Values.imageTag }}
Original file line number Diff line number Diff line change @@ -5,6 +5,24 @@ imageRegistry: "registry.drycc.cc"
55# limitsCpu: "100m"
66# limitsMemory: "50Mi"
77
8+ nodeAffinityPreset :
9+ key : " drycc.cc/node"
10+ type : " soft"
11+ values :
12+ - " true"
13+
14+ podAffinityPreset :
15+ key : " security"
16+ type : " "
17+ values :
18+ - " drycc-security"
19+
20+ podAntiAffinityPreset :
21+ key : " app"
22+ type : " soft"
23+ values :
24+ - " drycc-redis"
25+
826# The following parameters are configured only when using an on-cluster Redis instance
927replicas : 1
1028
You can’t perform that action at this time.
0 commit comments