Kubernetes Autopilot GCP is killing my pods for sc...
# ask-community
m
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
Copy code
<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:
Copy code
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
What kind of nodes are you using?
It seems like the nodes are being pre-empted by google
m
I am using k8s in autopilot mode