Skip to content

Commit

Permalink
Add K8s Test Runner annotations to not evict the pods (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl authored Mar 11, 2024
1 parent 5849f36 commit 2847af1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions k8s-test-runner/chart/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
sync: {{ $.Values.sync }}
{{- with $.Values.annotations }}
annotations:
{{- with $.Values.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
karpenter.sh/do-not-evict: "true"
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
spec:
restartPolicy: Never
containers:
Expand Down

0 comments on commit 2847af1

Please sign in to comment.