mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
Fix glue namespace handling (#63)
* Changed: namespace handling for glue * Changed: set glue as default agent system * Changed: bump up version
This commit is contained in:
parent
25dfbd12d6
commit
7a7bd930f8
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: clearml
|
name: clearml
|
||||||
description: MLOps platform
|
description: MLOps platform
|
||||||
type: application
|
type: application
|
||||||
version: "3.9.0"
|
version: "3.10.0"
|
||||||
appVersion: "1.4.0"
|
appVersion: "1.4.0"
|
||||||
home: https://clear.ml
|
home: https://clear.ml
|
||||||
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
|
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ClearML Ecosystem for Kubernetes
|
# ClearML Ecosystem for Kubernetes
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
MLOps platform
|
MLOps platform
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
|
|||||||
| agentGroups.agent-group-cpu.clearmlGitPassword | string | `nil` | |
|
| agentGroups.agent-group-cpu.clearmlGitPassword | string | `nil` | |
|
||||||
| agentGroups.agent-group-cpu.clearmlGitUser | string | `nil` | |
|
| agentGroups.agent-group-cpu.clearmlGitUser | string | `nil` | |
|
||||||
| agentGroups.agent-group-cpu.clearmlSecretKey | string | `nil` | |
|
| agentGroups.agent-group-cpu.clearmlSecretKey | string | `nil` | |
|
||||||
| agentGroups.agent-group-cpu.enabled | bool | `true` | |
|
| agentGroups.agent-group-cpu.enabled | bool | `false` | |
|
||||||
| agentGroups.agent-group-cpu.image.pullPolicy | string | `"IfNotPresent"` | |
|
| agentGroups.agent-group-cpu.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
| agentGroups.agent-group-cpu.image.repository | string | `"ubuntu"` | |
|
| agentGroups.agent-group-cpu.image.repository | string | `"ubuntu"` | |
|
||||||
| agentGroups.agent-group-cpu.image.tag | string | `"18.04"` | |
|
| agentGroups.agent-group-cpu.image.tag | string | `"18.04"` | |
|
||||||
@ -165,7 +165,7 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
|
|||||||
| agentGroups.agent-group-gpu.clearmlGitPassword | string | `nil` | |
|
| agentGroups.agent-group-gpu.clearmlGitPassword | string | `nil` | |
|
||||||
| agentGroups.agent-group-gpu.clearmlGitUser | string | `nil` | |
|
| agentGroups.agent-group-gpu.clearmlGitUser | string | `nil` | |
|
||||||
| agentGroups.agent-group-gpu.clearmlSecretKey | string | `nil` | |
|
| agentGroups.agent-group-gpu.clearmlSecretKey | string | `nil` | |
|
||||||
| agentGroups.agent-group-gpu.enabled | bool | `true` | |
|
| agentGroups.agent-group-gpu.enabled | bool | `false` | |
|
||||||
| agentGroups.agent-group-gpu.image.pullPolicy | string | `"IfNotPresent"` | |
|
| agentGroups.agent-group-gpu.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
| agentGroups.agent-group-gpu.image.repository | string | `"nvidia/cuda"` | |
|
| agentGroups.agent-group-gpu.image.repository | string | `"nvidia/cuda"` | |
|
||||||
| agentGroups.agent-group-gpu.image.tag | string | `"11.0-base-ubuntu18.04"` | |
|
| agentGroups.agent-group-gpu.image.tag | string | `"11.0-base-ubuntu18.04"` | |
|
||||||
@ -178,17 +178,17 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
|
|||||||
| agentGroups.agent-group-gpu.tolerations | list | `[]` | |
|
| agentGroups.agent-group-gpu.tolerations | list | `[]` | |
|
||||||
| agentGroups.agent-group-gpu.updateStrategy | string | `"Recreate"` | |
|
| agentGroups.agent-group-gpu.updateStrategy | string | `"Recreate"` | |
|
||||||
| agentk8sglue.defaultDockerImage | string | `"nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04"` | |
|
| agentk8sglue.defaultDockerImage | string | `"nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04"` | |
|
||||||
| agentk8sglue.enabled | bool | `false` | |
|
| agentk8sglue.enabled | bool | `true` | |
|
||||||
| agentk8sglue.id | string | `"k8s-agent"` | |
|
| agentk8sglue.id | string | `"k8s-agent"` | |
|
||||||
| agentk8sglue.image.repository | string | `"allegroai/clearml-agent-k8s"` | |
|
| agentk8sglue.image.repository | string | `"allegroai/clearml-agent-k8s"` | |
|
||||||
| agentk8sglue.image.tag | string | `"aws-latest-1.21"` | |
|
| agentk8sglue.image.tag | string | `"latest"` | |
|
||||||
| agentk8sglue.maxPods | int | `10` | |
|
| agentk8sglue.maxPods | int | `10` | |
|
||||||
| agentk8sglue.podTemplate.env | list | `[]` | |
|
| agentk8sglue.podTemplate.env | list | `[]` | |
|
||||||
| agentk8sglue.podTemplate.nodeSelector | object | `{}` | |
|
| agentk8sglue.podTemplate.nodeSelector | object | `{}` | |
|
||||||
| agentk8sglue.podTemplate.resources | object | `{}` | |
|
| agentk8sglue.podTemplate.resources | object | `{}` | |
|
||||||
| agentk8sglue.podTemplate.tolerations | list | `[]` | |
|
| agentk8sglue.podTemplate.tolerations | list | `[]` | |
|
||||||
| agentk8sglue.podTemplate.volumes | list | `[]` | |
|
| agentk8sglue.podTemplate.volumes | list | `[]` | |
|
||||||
| agentk8sglue.queue | string | `"aws-instances"` | |
|
| agentk8sglue.queue | string | `"default"` | |
|
||||||
| agentk8sglue.serviceAccountName | string | `"default"` | |
|
| agentk8sglue.serviceAccountName | string | `"default"` | |
|
||||||
| agentservices.affinity | object | `{}` | |
|
| agentservices.affinity | object | `{}` | |
|
||||||
| agentservices.agentVersion | string | `""` | |
|
| agentservices.agentVersion | string | `""` | |
|
||||||
|
@ -7,7 +7,7 @@ data:
|
|||||||
template.yaml: |
|
template.yaml: |
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
namespace: {{ .Release.namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ .Values.agentk8sglue.serviceAccountName }}
|
serviceAccountName: {{ .Values.agentk8sglue.serviceAccountName }}
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -35,9 +35,9 @@ spec:
|
|||||||
- name: K8S_GLUE_QUEUE
|
- name: K8S_GLUE_QUEUE
|
||||||
value: "{{.Values.agentk8sglue.queue}}"
|
value: "{{.Values.agentk8sglue.queue}}"
|
||||||
- name: K8S_GLUE_EXTRA_ARGS
|
- name: K8S_GLUE_EXTRA_ARGS
|
||||||
value: "--template-yaml /root/template/template.yaml"
|
value: "--namespace {{ .Release.Namespace }} --template-yaml /root/template/template.yaml"
|
||||||
- name: K8S_DEFAULT_NAMESPACE
|
- name: K8S_DEFAULT_NAMESPACE
|
||||||
value: "{{ .Release.namespace }}"
|
value: "{{ .Release.Namespace }}"
|
||||||
- name: CLEARML_API_ACCESS_KEY
|
- name: CLEARML_API_ACCESS_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
@ -17,7 +17,7 @@ metadata:
|
|||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: default
|
name: default
|
||||||
namespace: {{ .Release.namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
|
@ -257,7 +257,7 @@ agentservices:
|
|||||||
|
|
||||||
agentGroups:
|
agentGroups:
|
||||||
agent-group-cpu:
|
agent-group-cpu:
|
||||||
enabled: true
|
enabled: false
|
||||||
name: agent-group-cpu
|
name: agent-group-cpu
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
updateStrategy: Recreate
|
updateStrategy: Recreate
|
||||||
@ -291,7 +291,7 @@ agentGroups:
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
agent-group-gpu:
|
agent-group-gpu:
|
||||||
enabled: true
|
enabled: false
|
||||||
name: agent-group-gpu
|
name: agent-group-gpu
|
||||||
replicaCount: 0
|
replicaCount: 0
|
||||||
updateStrategy: Recreate
|
updateStrategy: Recreate
|
||||||
@ -328,14 +328,14 @@ agentGroups:
|
|||||||
# GPU autoscaling nodes.
|
# GPU autoscaling nodes.
|
||||||
# https://github.com/allegroai/clearml-agent/tree/master/docker/k8s-glue
|
# https://github.com/allegroai/clearml-agent/tree/master/docker/k8s-glue
|
||||||
agentk8sglue:
|
agentk8sglue:
|
||||||
enabled: false
|
enabled: true
|
||||||
image:
|
image:
|
||||||
repository: "allegroai/clearml-agent-k8s"
|
repository: "allegroai/clearml-agent-k8s"
|
||||||
tag: "aws-latest-1.21"
|
tag: "latest"
|
||||||
serviceAccountName: default
|
serviceAccountName: default
|
||||||
maxPods: 10
|
maxPods: 10
|
||||||
defaultDockerImage: nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04 # default docker image that is spawned as new pod
|
defaultDockerImage: nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04 # default docker image that is spawned as new pod
|
||||||
queue: aws-instances # create this queue manually in the UI first for it to work
|
queue: default
|
||||||
id: k8s-agent
|
id: k8s-agent
|
||||||
podTemplate:
|
podTemplate:
|
||||||
volumes: []
|
volumes: []
|
||||||
|
Loading…
Reference in New Issue
Block a user