mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
Clearml agentk8s extra envs (#94)
* Added "extraEnvs" to agentk8s deployment definition * added extraEnvs to values.yaml * Bumped version * Fixed linting issue * updated docs * Regenerated README.md * Update values.yaml Co-authored-by: Luca Cerone <luca.cerone@team.bumble.com> Co-authored-by: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com>
This commit is contained in:
parent
9fd65b68f7
commit
c3b5198dc9
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: clearml-agent
|
name: clearml-agent
|
||||||
description: MLOps platform
|
description: MLOps platform
|
||||||
type: application
|
type: application
|
||||||
version: "1.2.1"
|
version: "1.2.2"
|
||||||
appVersion: "1.24"
|
appVersion: "1.24"
|
||||||
kubeVersion: ">= 1.19.0-0 < 1.25.0-0"
|
kubeVersion: ">= 1.19.0-0 < 1.25.0-0"
|
||||||
home: https://clear.ml
|
home: https://clear.ml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# clearml-agent
|
# clearml-agent
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
MLOps platform
|
MLOps platform
|
||||||
|
|
||||||
@ -25,10 +25,11 @@ Kubernetes: `>= 1.19.0-0 < 1.25.0-0`
|
|||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| agentk8sglue | object | `{"apiServerUrlReference":"https://api.clear.ml","clearmlcheckCertificate":true,"defaultContainerImage":"ubuntu:18.04","fileServerUrlReference":"https://files.clear.ml","id":"k8s-agent","image":{"repository":"allegroai/clearml-agent-k8s-base","tag":"1.24-18"},"maxPods":10,"podTemplate":{"env":[],"nodeSelector":{},"resources":{},"tolerations":[],"volumes":[]},"queue":"default","replicaCount":1,"serviceAccountName":"default","webServerUrlReference":"https://app.clear.ml"}` | This agent will spawn queued experiments in new pods, a good use case is to combine this with GPU autoscaling nodes. https://github.com/allegroai/clearml-agent/tree/master/docker/k8s-glue |
|
| agentk8sglue | object | `{"apiServerUrlReference":"https://api.clear.ml","clearmlcheckCertificate":true,"defaultContainerImage":"ubuntu:18.04","extraEnvs":[],"fileServerUrlReference":"https://files.clear.ml","id":"k8s-agent","image":{"repository":"allegroai/clearml-agent-k8s-base","tag":"1.24-18"},"maxPods":10,"podTemplate":{"env":[],"nodeSelector":{},"resources":{},"tolerations":[],"volumes":[]},"queue":"default","replicaCount":1,"serviceAccountName":"default","webServerUrlReference":"https://app.clear.ml"}` | This agent will spawn queued experiments in new pods, a good use case is to combine this with GPU autoscaling nodes. https://github.com/allegroai/clearml-agent/tree/master/docker/k8s-glue |
|
||||||
| agentk8sglue.apiServerUrlReference | string | `"https://api.clear.ml"` | Reference to Api server url |
|
| agentk8sglue.apiServerUrlReference | string | `"https://api.clear.ml"` | Reference to Api server url |
|
||||||
| agentk8sglue.clearmlcheckCertificate | bool | `true` | Check certificates validity for evefry UrlReference below. |
|
| agentk8sglue.clearmlcheckCertificate | bool | `true` | Check certificates validity for evefry UrlReference below. |
|
||||||
| agentk8sglue.defaultContainerImage | string | `"ubuntu:18.04"` | default container image for ClearML Task pod |
|
| agentk8sglue.defaultContainerImage | string | `"ubuntu:18.04"` | default container image for ClearML Task pod |
|
||||||
|
| agentk8sglue.extraEnvs | list | `[]` | Environment variables to be exposed in the agentk8sglue pods |
|
||||||
| agentk8sglue.fileServerUrlReference | string | `"https://files.clear.ml"` | Reference to File server url |
|
| agentk8sglue.fileServerUrlReference | string | `"https://files.clear.ml"` | Reference to File server url |
|
||||||
| agentk8sglue.id | string | `"k8s-agent"` | ClearML worker ID (must be unique across the entire ClearMLenvironment) |
|
| agentk8sglue.id | string | `"k8s-agent"` | ClearML worker ID (must be unique across the entire ClearMLenvironment) |
|
||||||
| agentk8sglue.image | object | `{"repository":"allegroai/clearml-agent-k8s-base","tag":"1.24-18"}` | Glue Agent image configuration |
|
| agentk8sglue.image | object | `{"repository":"allegroai/clearml-agent-k8s-base","tag":"1.24-18"}` | Glue Agent image configuration |
|
||||||
|
@ -91,6 +91,9 @@ spec:
|
|||||||
value: ""
|
value: ""
|
||||||
- name: CLEARML_DOCKER_IMAGE
|
- name: CLEARML_DOCKER_IMAGE
|
||||||
value: "{{.Values.agentk8sglue.defaultContainerImage}}"
|
value: "{{.Values.agentk8sglue.defaultContainerImage}}"
|
||||||
|
{{- if .Values.agentk8sglue.extraEnvs }}
|
||||||
|
{{ toYaml .Values.agentk8sglue.extraEnvs | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: {{ include "agentk8sglue.referenceName" . }}-k8sagent-pod-template
|
- name: {{ include "agentk8sglue.referenceName" . }}-k8sagent-pod-template
|
||||||
configMap:
|
configMap:
|
||||||
|
@ -58,6 +58,9 @@ agentk8sglue:
|
|||||||
# -- ClearML worker ID (must be unique across the entire ClearMLenvironment)
|
# -- ClearML worker ID (must be unique across the entire ClearMLenvironment)
|
||||||
id: k8s-agent
|
id: k8s-agent
|
||||||
|
|
||||||
|
# -- Environment variables to be exposed in the agentk8sglue pods
|
||||||
|
extraEnvs: []
|
||||||
|
|
||||||
# -- template for pods spawned to consume ClearML Task
|
# -- template for pods spawned to consume ClearML Task
|
||||||
podTemplate:
|
podTemplate:
|
||||||
# -- volumes definition for pods spawned to consume ClearML Task (example in values.yaml comments)
|
# -- volumes definition for pods spawned to consume ClearML Task (example in values.yaml comments)
|
||||||
|
Loading…
Reference in New Issue
Block a user