diff options
Diffstat (limited to 'kubernetes/uui/components/uui-llm-adaptation')
3 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/uui/components/uui-llm-adaptation/resources/entrypoint/run.sh b/kubernetes/uui/components/uui-llm-adaptation/resources/entrypoint/run.sh index f1dcefa168..7786624d53 100644 --- a/kubernetes/uui/components/uui-llm-adaptation/resources/entrypoint/run.sh +++ b/kubernetes/uui/components/uui-llm-adaptation/resources/entrypoint/run.sh @@ -20,7 +20,7 @@ main_path="/home/uui" echo @main_path@ $main_path JAVA_PATH="$JAVA_HOME/bin/java" -JAVA_OPTS="-Xms50m -Xmx128m" +JAVA_OPTS="-XX:MaxRAMPercentage=${MAX_RAM_PERCENTAGE:-70}" echo @JAVA_PATH@ $JAVA_PATH echo @JAVA_OPTS@ $JAVA_OPTS diff --git a/kubernetes/uui/components/uui-llm-adaptation/templates/deployment.yaml b/kubernetes/uui/components/uui-llm-adaptation/templates/deployment.yaml index d2824d1bbb..890bc5e033 100644 --- a/kubernetes/uui/components/uui-llm-adaptation/templates/deployment.yaml +++ b/kubernetes/uui/components/uui-llm-adaptation/templates/deployment.yaml @@ -19,6 +19,7 @@ metadata: {{- include "common.resourceMetadata" . | nindent 2 }} spec: selector: {{- include "common.selectors" . | nindent 4 }} replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} template: metadata: {{- include "common.templateMetadata" . | nindent 6 }} spec: diff --git a/kubernetes/uui/components/uui-llm-adaptation/values.yaml b/kubernetes/uui/components/uui-llm-adaptation/values.yaml index 27068ac930..9ee1f3043e 100644 --- a/kubernetes/uui/components/uui-llm-adaptation/values.yaml +++ b/kubernetes/uui/components/uui-llm-adaptation/values.yaml @@ -49,6 +49,7 @@ flavor: small replicaCount: 1 nodeSelector: {} affinity: {} +revisionHistoryLimit: 1 service: type: ClusterIP |