Hi all, I'm currently using Kubegreen to put certa...
# general
s
Hi all, I'm currently using Kubegreen to put certain pods to sleep and wake them up on a schedule. The sleep and wake-up functionality works as expected — pods go to sleep at the specified time and wake up at the correct time. However, I'm noticing that after waking up, all the pods go into a Pending state, even though the nodes are up and available. Has anyone faced a similar issue, or is there something specific I should check in my configuration? Any pointers or suggestions would be greatly appreciated. 🙏 Thanks in advance!
a
I haven't used kube-green but one possibility (which if you take a look at the events around that time might reveal what's happening?) is that if you're using a cluster autoscaler that there will be delay from when kube-green scales the ReplicaSets back up (assuming that's how it works?) to the cluster autoscaler being able to provide nodes for the scheduler to schedule the Pods on. I think they'd then be Pending until the nodes were available?
r
I have been using KArpenter + Keda schedules and this works extremely fast in contrast with cluster autoscaler