https://prefect.io logo
Title
m

Marcelo Santoro

01/06/2023, 1:43 AM
Kubernetes Autopilot GCP is killing my pods for scale down nodes 😞 I have the
safe-to-evict: false
on my template file, but it is not working
<http://cluster-autoscaler.kubernetes.io/safe-to-evict|cluster-autoscaler.kubernetes.io/safe-to-evict>: "false"
Does anyone knows how to prevent k8s scale down while a job is still running ?
I tried again with new syntax... and now I have this error:
Auto GKE disallows use of <http://cluster-autoscaler.kubernetes.io/safe-to-evict=false|cluster-autoscaler.kubernetes.io/safe-to-evict=false> annotation on workloads
c

Christopher Boyd

01/06/2023, 2:07 PM
What kind of nodes are you using?
It seems like the nodes are being pre-empted by google
m

Marcelo Santoro

01/06/2023, 2:11 PM
I am using k8s in autopilot mode