Your team deploys a stateless web service to a new Google Kubernetes Engine Autopilot cluster using the manifest below. After the rollout, you inspect a running Pod and notice that both containers have a CPU request of 250 mCPU and a memory request of 512 MiB even though you never defined any resources.
What explains the observed resource values in this Pod?
Autopilot silently ignores any resource section and applies cluster-level horizontal Pod autoscaling instead, which explains the numbers you observed.
GKE Autopilot automatically assigns a default request and limit (about 0.25 vCPU and 512 MiB) to every container whose manifest omits the resources field, and billing is based on those defaults.
The Pod could not have started without explicit resources, so the values you saw came from an earlier revision of the manifest that still had requests defined.
Because no resources were specified, the Pod was scheduled with zero requests; the 250 mCPU and 512 MiB you see are only advisory and are not billable.
GKE Autopilot never allows a container to run without defined resource requests because those values are used for bin-packing the cluster and for billing. When a manifest omits the resources section, Autopilot automatically inserts default values (currently 0.25 vCPU and 512 MiB memory per container). These defaults become both the request and the limit, so the Pod schedules successfully and accrues cost based on those amounts. Autopilot does not block the deployment, silently ignore the requests field, or create an HPA in place of resource requests.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why does GKE Autopilot assign default resource values to containers?
Open an interactive chat with Bash
What does bin-packing mean in Kubernetes and why is it important?
Open an interactive chat with Bash
Can resource requests and limits in GKE Autopilot be customized?
Open an interactive chat with Bash
Why does GKE Autopilot assign default resource values?
Open an interactive chat with Bash
What happens if resource requests are omitted in a GKE Standard cluster?
Open an interactive chat with Bash
What is bin-packing in Kubernetes scheduling?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .