diff --git a/charts/hedera-block-node/templates/deployment.yaml b/charts/hedera-block-node/templates/deployment.yaml index d2266856..6a52ba58 100644 --- a/charts/hedera-block-node/templates/deployment.yaml +++ b/charts/hedera-block-node/templates/deployment.yaml @@ -43,6 +43,13 @@ spec: name: {{ include "hedera-block-node.fullname" . }}-config - secretRef: name: {{ include "hedera-block-node.fullname" . }}-secret + resources: + requests: + memory: {{ .Values.blockNode.resources.requests.memory }} + cpu: {{ .Values.blockNode.resources.requests.cpu }} + limits: + memory: {{ .Values.blockNode.resources.limits.memory }} + cpu: {{ .Values.blockNode.resources.limits.cpu }} livenessProbe: httpGet: path: {{ .Values.blockNode.health.liveness.endpoint }} diff --git a/charts/hedera-block-node/values.yaml b/charts/hedera-block-node/values.yaml index cb0d6275..b34cafe0 100644 --- a/charts/hedera-block-node/values.yaml +++ b/charts/hedera-block-node/values.yaml @@ -89,6 +89,13 @@ blockNode: endpoint: "/healthz/livez" metrics: port: 9999 + resources: + limits: + cpu: "8" + memory: "16Gi" + requests: + cpu: "2" + memory: "8Gi" kubepromstack: enabled: true