Open briandealwis opened 3 years ago
sounds like a nice feature. Is there a way we could detect if its a autopilot cluster?
I've been told that looking at the pod events should show cluster autoscaling or node auto provisioning events. Both are briefly described here:
Is there a way to use this with autopilot clusters yet? Deployments always fail for me (something about unscheduable), even if I see a TriggeredScaleUp
Please use tolerate-failures-until-deadline flag with auto-pilot cluster if this issue occurs https://github.com/GoogleContainerTools/skaffold/blob/e1014dd0052ce20db690ae606b2f99d2281cd0c4/cmd/skaffold/app/cmd/flags.go#L335-L343
Can we improve the status check reporting when deploying to a GKE Autopilot cluster — informing the user that the cluster/node is being scaled up to accomodate the new job?
If the pod is not scheduled, we could look at the events to see if there was a
TriggeredScaleUp
event.