Skip to content

Commit

Permalink
feat: add priorityClassName
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <[email protected]>
  • Loading branch information
leninmehedy committed Sep 21, 2023
1 parent 968fa73 commit 1f7d68e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/hedera-network/templates/network-node-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
affinity:
{{- $.Values.deployment.affinity | toYaml | nindent 8 }}
{{- end }}
{{- if $.Values.deployment.priorityClassName }}
priorityClassName: {{ $.Values.deployment.priorityClassName }}
{{- end }}
terminationGracePeriodSeconds: {{ $.Values.terminationGracePeriodSeconds }}
volumes:
- name: hgcapp-storage # change me
Expand Down
2 changes: 2 additions & 0 deletions charts/hedera-network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ deployment:
# Use complete affinity spec starting with key "nodeAffinity:"
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
affinity: {}
priorityClassName: {}
podDisruptionBudget: {}

# hedera node configuration
# Only the name of the node is required. The rest of the configuration will be inherited from `defaults` section
Expand Down

0 comments on commit 1f7d68e

Please sign in to comment.