File tree Expand file tree Collapse file tree
charts/network/charts/network-nodes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ A Helm chart for Kubernetes
139139| podDisruptionBudgets.validator.unhealthyPodEvictionPolicy | string | ` "" ` | Optional unhealthy pod eviction policy (Default or AlwaysAllow). |
140140| podLabels | object | ` {} ` | |
141141| podSecurityContext | object | ` {} ` | |
142+ | priorityClassNames.rpc | string | ` "" ` | PriorityClass name assigned to RPC pods. Leave empty to inherit namespace defaults. |
143+ | priorityClassNames.validator | string | ` "" ` | PriorityClass name assigned to validator pods. Leave empty to inherit namespace defaults. |
142144| readinessProbe | string | ` nil ` | |
143145| resources | object | ` {} ` | |
144146| rpcReplicaCount | int | ` 2 ` | Number of RPC node replicas provisioned via StatefulSet. |
Original file line number Diff line number Diff line change 3131 {{- $privateKeyFilename := default "privateKey" .Values.config.privateKeyFilename }}
3232 {{- $shouldMountPersistence := $persistenceEnabled }}
3333 {{- $rpcReplicaBudget := .Values.rpcReplicaCount | int }}
34+ {{- $priorityClasses := .Values.priorityClassNames | default (dict) }}
35+ {{- $rpcPriorityClass := default "" (get $priorityClasses "rpc") }}
3436 {{- $initContainers := .Values.initContainers | default (dict) }}
3537 {{- $sharedInitContainers := get $initContainers "shared" }}
3638 {{- $rpcInitContainers := get $initContainers "rpc" }}
6870 {{- toYaml . | nindent 8 }}
6971 {{- end }}
7072 serviceAccountName : {{ include "nodes.serviceAccountName" . }}
73+ {{- if $rpcPriorityClass }}
74+ priorityClassName : {{ $rpcPriorityClass | quote }}
75+ {{- end }}
7176 {{- with .Values.podSecurityContext }}
7277 securityContext :
7378 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change 3232 {{- $staticNodesConfigMapName := default "besu-static-nodes" (get $globalNodes "staticNodesConfigMapName") }}
3333 {{- $validatorPodPrefix := default "besu-node-validator" (get $globalNodes "podPrefix") }}
3434 {{- $validatorReplicaBudget := (include "nodes.validatorReplicaCount" . | int) }}
35+ {{- $priorityClasses := .Values.priorityClassNames | default (dict) }}
36+ {{- $validatorPriorityClass := default "" (get $priorityClasses "validator") }}
3537 {{- $initContainers := .Values.initContainers | default (dict) }}
3638 {{- $sharedInitContainers := get $initContainers "shared" }}
3739 {{- $validatorInitContainers := get $initContainers "validator" }}
6971 {{- toYaml . | nindent 8 }}
7072 {{- end }}
7173 serviceAccountName : {{ include "nodes.serviceAccountName" . }}
74+ {{- if $validatorPriorityClass }}
75+ priorityClassName : {{ $validatorPriorityClass | quote }}
76+ {{- end }}
7277 {{- with .Values.podSecurityContext }}
7378 securityContext :
7479 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -153,6 +153,13 @@ networkPolicy:
153153 - protocol : TCP
154154 port : 30303
155155
156+ # PriorityClass configuration applied to Besu workloads.
157+ priorityClassNames :
158+ # -- PriorityClass name assigned to validator pods. Leave empty to inherit namespace defaults.
159+ validator : " "
160+ # -- PriorityClass name assigned to RPC pods. Leave empty to inherit namespace defaults.
161+ rpc : " "
162+
156163# Pod-level security context shared by all containers.
157164podSecurityContext :
158165 {}
You can’t perform that action at this time.
0 commit comments