Skip to content

Commit d42dd9b

Browse files
authored
Mark batch jobs as not safe to evict (#256)
1 parent 386615a commit d42dd9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

charts/model-engine/templates/service_template_config_map.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ data:
609609
version: v1
610610
annotations:
611611
ad.datadoghq.com/main.logs: '[{"source": "python", "service": "${RESOURCE_NAME}", "tags": ["env:{{ $env }}", "launch_job_id:${JOB_ID}"]}]'
612+
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
612613
spec:
613614
restartPolicy: Never
614615
{{- with $node_selector }}

0 commit comments

Comments
 (0)