From 407683a381a64f3eef5ea728a5850b927ededc83 Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk Date: Wed, 28 Aug 2024 13:25:35 -0500 Subject: [PATCH] fix: Set Default NodeOptions --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/charts/console/Chart.yaml | 2 +- .../operator-wandb/charts/console/templates/deployment.yaml | 2 ++ charts/operator-wandb/charts/console/values.yaml | 4 ++++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index 219dc2ba..4d019f59 100644 --- a/charts/operator-wandb/Chart.yaml +++ b/charts/operator-wandb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: operator-wandb description: A Helm chart for deploying W&B to Kubernetes type: application -version: 0.17.7 +version: 0.17.8 appVersion: 1.0.0 icon: https://wandb.ai/logo.svg diff --git a/charts/operator-wandb/charts/console/Chart.yaml b/charts/operator-wandb/charts/console/Chart.yaml index 6aac0ba1..ed3edcab 100644 --- a/charts/operator-wandb/charts/console/Chart.yaml +++ b/charts/operator-wandb/charts/console/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: console description: A Helm chart for Kubernetes type: application -version: 0.1.0 +version: 0.1.1 appVersion: 1.16.0 diff --git a/charts/operator-wandb/charts/console/templates/deployment.yaml b/charts/operator-wandb/charts/console/templates/deployment.yaml index 54c983b4..02aab458 100644 --- a/charts/operator-wandb/charts/console/templates/deployment.yaml +++ b/charts/operator-wandb/charts/console/templates/deployment.yaml @@ -65,6 +65,8 @@ spec: value: "http://{{ $.Release.Name }}-prometheus-server" - name: BANNERS value: {{ toJson .Values.global.banners | quote }} + - name: NODE_OPTIONS + value: {{ .Values.nodeOptions }} - name: G_HOST_IP valueFrom: diff --git a/charts/operator-wandb/charts/console/values.yaml b/charts/operator-wandb/charts/console/values.yaml index 217154e4..ca6acd78 100644 --- a/charts/operator-wandb/charts/console/values.yaml +++ b/charts/operator-wandb/charts/console/values.yaml @@ -40,6 +40,10 @@ service: annotations: {} labels: {} +# This is 90% of the default limit for the console in MB +# Adjust this value if you have a different limit set for the console +nodeOptions: --max-old-space-size=472 + resources: # We usually recommend not to specify default resources and to leave this as a # conscious choice for the user. This also increases chances charts run on