You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b2e5791
Browse filesBrowse the repository at this point in the historyBrowse files
|`replicas`| Number of Redis replicas. Three Sentinels watch them, or a single one when `replicas` is 1, since a lone pod has no replica to fail over to. |`int`|`2`|
21
-
|`resources`| Explicit CPU and memory configuration for each Redis replica. When omitted, the preset defined in `resourcesPreset` is applied. |`object`|`{}`|
22
-
|`resources.cpu`| CPU available to each replica. |`quantity`|`""`|
23
-
|`resources.memory`| Memory (RAM) available to each replica. |`quantity`|`""`|
24
-
|`resourcesPreset`| Default sizing preset used when `resources` is omitted. |`string`|`t1.nano`|
25
-
|`size`| Persistent Volume Claim size available for application data. |`quantity`|`1Gi`|
26
-
|`storageClass`| StorageClass used to store the data. |`string`|`""`|
27
-
|`external`| Enable external access from outside the cluster. Can be enabled only when the instance is created, together with `tls.enabled: true`; turning it on for an existing instance, or changing `tls.enabled` while it is on, is refused at admission. |`bool`|`false`|
28
-
|`version`| Redis major version to deploy. The Redis and Sentinel pods run the same image. |`string`|`v8`|
|`replicas`| Number of Redis replicas. Three Sentinels watch them, or a single one when `replicas` is 1, since a lone pod has no replica to fail over to. |`int`|`2`|
21
+
|`resources`| Explicit CPU and memory configuration for each Redis replica. When omitted, the preset defined in `resourcesPreset` is applied. |`object`|`{}`|
22
+
|`resources.cpu`| CPU available to each replica. |`quantity`|`""`|
23
+
|`resources.memory`| Memory (RAM) available to each replica. |`quantity`|`""`|
24
+
|`resourcesPreset`| Default sizing preset used when `resources` is omitted. |`string`|`t1.nano`|
25
+
|`affinity`| Kubernetes affinity configuration for Redis and Sentinel pods. |`object`|`{}`|
26
+
|`affinity.redis`| Kubernetes Affinity for Redis pods. When set, redis-operator uses it verbatim and does not add its default soft podAntiAffinity; include podAntiAffinity unless replica co-location is intended. |`*object`|`{}`|
27
+
|`affinity.sentinel`| Kubernetes Affinity for Sentinel pods. When set, redis-operator uses it verbatim and does not add its default soft podAntiAffinity; include podAntiAffinity unless replica co-location is intended. |`*object`|`{}`|
28
+
|`size`| Persistent Volume Claim size available for application data. |`quantity`|`1Gi`|
29
+
|`storageClass`| StorageClass used to store the data. |`string`|`""`|
30
+
|`external`| Enable external access from outside the cluster. Can be enabled only when the instance is created, together with `tls.enabled: true`; turning it on for an existing instance, or changing `tls.enabled` while it is on, is refused at admission. |`bool`|`false`|
31
+
|`version`| Redis major version to deploy. The Redis and Sentinel pods run the same image. |`string`|`v8`|
Copy file name to clipboardExpand all lines: packages/apps/redis/values.schema.json
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,25 @@
94
94
"2xlarge"
95
95
]
96
96
},
97
+
"affinity": {
98
+
"description": "Kubernetes affinity configuration for Redis and Sentinel pods.",
99
+
"type": "object",
100
+
"default": {},
101
+
"properties": {
102
+
"redis": {
103
+
"description": "Kubernetes Affinity for Redis pods. When set, redis-operator uses it verbatim and does not add its default soft podAntiAffinity; include podAntiAffinity unless replica co-location is intended.",
104
+
"type": "object",
105
+
"default": {},
106
+
"x-kubernetes-preserve-unknown-fields": true
107
+
},
108
+
"sentinel": {
109
+
"description": "Kubernetes Affinity for Sentinel pods. When set, redis-operator uses it verbatim and does not add its default soft podAntiAffinity; include podAntiAffinity unless replica co-location is intended.",
110
+
"type": "object",
111
+
"default": {},
112
+
"x-kubernetes-preserve-unknown-fields": true
113
+
}
114
+
}
115
+
},
97
116
"size": {
98
117
"description": "Persistent Volume Claim size available for application data.",
## @field {*object} [redis] - Kubernetes Affinity for Redis pods. When set, redis-operator uses it verbatim and does not add its default soft podAntiAffinity; include podAntiAffinity unless replica co-location is intended.
69
+
## @field {*object} [sentinel] - Kubernetes Affinity for Sentinel pods. When set, redis-operator uses it verbatim and does not add its default soft podAntiAffinity; include podAntiAffinity unless replica co-location is intended.
70
+
71
+
## @param {AffinitySpec} [affinity] - Kubernetes affinity configuration for Redis and Sentinel pods.
72
+
affinity:
73
+
redis: {}
74
+
sentinel: {}
75
+
67
76
## @param {quantity} size - Persistent Volume Claim size available for application data.
0 commit comments