Skip to content

Conversation

@mermoldy
Copy link
Member

No description provided.

@mermoldy mermoldy changed the title SCALRCORE-36014 Helm chart config for agent-job SCALRCORE-35910 Helm chart config for agent-job Sep 25, 2025
@mermoldy mermoldy changed the title SCALRCORE-35910 Helm chart config for agent-job SCALRCORE-35910 Helm chart config for agent-job [WIP] Sep 25, 2025
@mermoldy mermoldy changed the title SCALRCORE-35910 Helm chart config for agent-job [WIP] SCALRCORE-35910 Helm chart config for agent-job Nov 24, 2025
Comment on lines +61 to +62
- name: SCALR_URL
value: {{ .Values.agent.url | quote }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mermoldy Навіщо нам SCALR_URL? зараз домен є вже у токені

Copy link
Member Author

@mermoldy mermoldy Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@penja that’s optional configuration - in case the account migrates to a different URL, or the user wants to route requests through some proxy (there was simply no reason to remove it and introdude BC for old tokens)

Comment on lines +77 to +80
- name: SCALR_AGENT_DATA_DIR
value: {{ .Values.agent.dataDir | quote }}
- name: SCALR_AGENT_CACHE_DIR
value: {{ .Values.agent.cacheDir | quote }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mermoldy У нас є кейси копіювати кеш у датадиректорію. Як це буде працювати? Можливо нам не варто розділяти ці речі окремо?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@penja the main point is to separate workspace (per-run) and cache (global) volumes - https://github.com/Scalr/agent-helm/tree/SCALRCORE-35910/charts/agent-job#volumes. Thats give us ability to use NFS only for the cache, and keep faster ephemeral volume for the run data directories The cache directory path by default (when not explictly specified) is equal to the data directory path to avoid unnecessary data migrations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants