'Kubernetes (Google) insufficient CPU and memory during deployment, autopilot cluster

Any idea why I just started getting "Insufficient CPU" and Insufficient memory" when deploying containers (nodejs api and cloud sql proxy) to Kubernetes.

This has worked fine before, I have set the resource limits in the yaml but even if I remove those I get same error. I have deleted the workload from google console and redeployed the deployment yaml from the command line.

Very strange because this has worked before

The cluster is set to Autopilot mode



Solution 1:[1]

I was not able to figure this out so I deleted and recreated the cluster. Strange.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 jani_r