n4-standard-4 as a GKE node
4 vCPU16 GiBx86_64Google Cloud us-central1N4 Standard 4
Where the n4-standard-4 goes
Default GKE setup: GKE ≤ 1.36.
CPU3.72 of 4 vCPU left for your pods
Memory13.01 GiB of 16 GiB left for your pods
your podsDaemonSets (200m, 300 MiB assumed)kubelet reservedeviction
110max pods per node
$132.42on demand / month · $0.1814/h
$74.77spot / month (varies)
n4-standard-4 GKE max pods and allocatable memory — quick answers
- How many pods can a n4-standard-4 run as a node with GKE ≤ 1.36? Up to 110; kubelet keeps 2762 MiB of memory and 80m CPU, leaving 13.30 GiB and 3.92 vCPU for pods.
- How many pods can a n4-standard-4 run as a node with GKE 1.37+ (Container-Optimized OS)? Up to 110; kubelet keeps 2250 MiB of memory and 80m CPU, leaving 13.80 GiB and 3.92 vCPU for pods.
- How many 500m / 1 GiB pods fit? 7 per node after DaemonSets; 2 nodes for 10 replicas, about $264.84/month on demand.
What kubelet reserves on n4-standard-4
| Setup | Max pods | kube-reserved CPU | Memory reserved + eviction | Allocatable CPU | Allocatable memory | Memory usable |
|---|---|---|---|---|---|---|
| GKE ≤ 1.36 tiered memory reservation | 110 | 80m | 2662 Mi + 100 Mi | 3.92 | 13.30 GiB | 83.1% |
| GKE 1.37+ (Container-Optimized OS) 15 MiB × max pods + 500 MiB, CPU capped at 1 vCPU | 110 | 80m | 2150 Mi + 100 Mi | 3.92 | 13.80 GiB | 86.3% |
How these numbers are computed: reservation formulas. Check a live node with kubectl describe node → Allocatable.
How many pods fit on one n4-standard-4
Assumes DaemonSets (CNI, kube-proxy, log and metrics agents) request 200m CPU, 300 Mi and 3 pods per node. Try your own numbers in the node calculator.
| Pod requests (CPU / memory) | GKE ≤ 1.36 | GKE 1.37+ (Container-Optimized OS) | $ per pod / month |
|---|---|---|---|
| 100m / 128 Mi | 37 | 37 | $3.58 |
| 250m / 256 Mi | 14 | 14 | $9.46 |
| 250m / 512 Mi | 14 | 14 | $9.46 |
| 500m / 512 Mi | 7 | 7 | $18.92 |
| 500m / 1024 Mi | 7 | 7 | $18.92 |
| 1000m / 1024 Mi | 3 | 3 | $44.14 |
| 1000m / 2048 Mi | 3 | 3 | $44.14 |
| 2000m / 4096 Mi | 1 | 1 | $132.42 |
| 4000m / 8192 Mi | 0 | 0 | — |
Similar GKE node types
| Type | vCPU | GiB | Alloc CPU | Alloc memory | Max pods | $/month | $ per alloc GiB |
|---|---|---|---|---|---|---|---|
| e2-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $97.84 | $7.35 |
| n4a-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $112.42 | $8.45 |
| t2a-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $112.42 | $8.45 |
| n2d-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $123.36 | $9.27 |
| t2d-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $123.36 | $9.27 |
| n4d-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $123.66 | $9.30 |
| c4a-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $131.11 | $9.86 |
| c2d-standard-4 | 4 | 16 | 3.92 | 13.30 GiB | 110 | $132.57 | $9.97 |
Closest match on other clouds
| Type | vCPU | GiB | Alloc CPU | Alloc memory | Max pods | $/month | $ per alloc GiB |
|---|---|---|---|---|---|---|---|
| t4g.xlarge | 4 | 16 | 3.92 | 15.03 GiB | 58 | $98.11 | $6.53 |
| d4psv6 | 4 | 16 | 3.86 | 11.90 GiB | 250 | $102.20 | $8.59 |
| t3a.xlarge | 4 | 16 | 3.92 | 15.03 GiB | 58 | $109.79 | $7.30 |
| m6g.xlarge | 4 | 16 | 3.92 | 15.03 GiB | 58 | $112.42 | $7.48 |
| d4psv5 | 4 | 16 | 3.86 | 11.90 GiB | 250 | $112.42 | $9.45 |
| m7g.xlarge | 4 | 16 | 3.92 | 15.03 GiB | 58 | $119.14 | $7.93 |