mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-02-07 13:22:12 +00:00
39 lines
1.1 KiB
YAML
Executable File
39 lines
1.1 KiB
YAML
Executable File
# These values are for ENTERPRISE version only and they need to be adapted to specific infrastructure needs
|
|
# containerSecurityContext is highly related to Kubernetes distribution used/configuration and will probably
|
|
# need to be customized accordingly
|
|
|
|
agentk8sglue:
|
|
defaultContainerImage: "python:3.9"
|
|
containerSecurityContext:
|
|
runAsUser: 1000
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
containerCustomBashScript: |
|
|
export HOME=/tmp ;
|
|
export LOCAL_PYTHON=python3 ;
|
|
$LOCAL_PYTHON -m pip install clearml-agent{agent_install_args} ;
|
|
$LOCAL_PYTHON -m clearml_agent execute {default_execution_agent_args} --id {task_id}
|
|
extraEnvs:
|
|
- name: CLEARML_K8S_GLUE_START_AGENT_SCRIPT_PATH
|
|
value: /tmp/__start_agent__.sh
|
|
|
|
basePodTemplate:
|
|
env:
|
|
- name: HOME
|
|
value: /tmp
|
|
containerSecurityContext:
|
|
runAsUser: 1000
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
|
|
enterpriseFeatures:
|
|
enabled: true
|