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
Copy file name to clipboardExpand all lines: helm/hugegraph/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,7 +220,7 @@ default values.
220
220
|`server.podSecurityContext`| Pod-level securityContext, rendered only when set |`{}`|
221
221
|`server.securityContext`| Container-level securityContext. Hardened by default; `runAsNonRoot` is not set because the published images run as root |`allowPrivilegeEscalation: false`, `capabilities.drop: [ALL]`, `seccompProfile: RuntimeDefault`|
222
222
|`server.pdb.enabled`| Create a PodDisruptionBudget for Server. Off by default: Server holds no quorum |`false`|
223
-
|`server.pdb.minAvailable`| Must be strictly less than `server.replicas`|`2`|
223
+
|`server.pdb.minAvailable`| Must be less than `server.hpa.minReplicas` when HPA is enabled, otherwise less than `server.replicas`|`2`|
224
224
|`server.antiAffinity`| One of `required`, `preferred`, `disabled`. Defaults to `preferred` rather than `required` because HPA may scale Server past the node count; set `required` when replicas always stay below it |`preferred`|
225
225
|`server.nodeSelector`| Node selector for server Pods |`{}`|
226
226
|`server.tolerations`| Tolerations for server Pods |`[]`|
@@ -236,6 +236,7 @@ default values.
236
236
|`server.serviceAccount.annotations`| Annotations on the created ServiceAccount |`{}`|
237
237
|`server.serviceAccount.automountServiceAccountToken`| Mount an API token. The chart makes no API calls |`false`|
238
238
|`server.waitImage`| Image for the Helm test hook |`curlimages/curl:8.5.0`|
239
+
|`server.testResources`| Resources for the Helm test hook container |`{}`|
239
240
|`server.restServer.minFreeMemory`| Empty preserves the image default |`""`|
240
241
|`server.restServer.batchMaxWriteThreads`| Empty preserves the image default |`""`|
241
242
|`server.initStoreEnabled`| Must remain `false` for distributed HStore |`false`|
{{- fail "server.pdb.minAvailable must be less than server.replicas, otherwise the PDB permanently blocks voluntary disruptions such as node drains" -}}
260
+
{{- $serverReplicaFloor:= include "hugegraph.server.replicaFloor".| int -}}
{{- fail "server.pdb.minAvailable must be less than the active Server replica floor (server.hpa.minReplicas when HPA is enabled, otherwise server.replicas), otherwise the PDB permanently blocks voluntary disruptions such as node drains" -}}
0 commit comments