n4d-highcpu-2 as a GKE node
2 vCPU4 GiBx86_64Google Cloud us-central1N4D High CPU 2
Where the n4d-highcpu-2 goes
Default GKE setup: GKE ≤ 1.36.
CPU1.73 of 2 vCPU left for your pods
Memory2.61 GiB of 4 GiB left for your pods
your podsDaemonSets (200m, 300 MiB assumed)kubelet reservedeviction
110max pods per node
$52.17on demand / month · $0.0715/h
$31.28spot / month (varies)
n4d-highcpu-2 GKE max pods and allocatable memory — quick answers
- How many pods can a n4d-highcpu-2 run as a node with GKE ≤ 1.36? Up to 110; kubelet keeps 1124 MiB of memory and 70m CPU, leaving 2.90 GiB and 1.93 vCPU for pods.
- How many pods can a n4d-highcpu-2 run as a node with GKE 1.37+ (Container-Optimized OS)? Up to 110; kubelet keeps 1124 MiB of memory and 70m CPU, leaving 2.90 GiB and 1.93 vCPU for pods.
- How many 500m / 1 GiB pods fit? 2 per node after DaemonSets; 5 nodes for 10 replicas, about $260.83/month on demand.
What kubelet reserves on n4d-highcpu-2
| Setup | Max pods | kube-reserved CPU | Memory reserved + eviction | Allocatable CPU | Allocatable memory | Memory usable |
|---|---|---|---|---|---|---|
| GKE ≤ 1.36 tiered memory reservation | 110 | 70m | 1024 Mi + 100 Mi | 1.93 | 2.90 GiB | 72.6% |
| GKE 1.37+ (Container-Optimized OS) 15 MiB × max pods + 500 MiB, CPU capped at 1 vCPU | 110 | 70m | 1024 Mi + 100 Mi | 1.93 | 2.90 GiB | 72.6% |
How these numbers are computed: reservation formulas. Check a live node with kubectl describe node → Allocatable.
How many pods fit on one n4d-highcpu-2
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 | 17 | 17 | $3.07 |
| 250m / 256 Mi | 6 | 6 | $8.69 |
| 250m / 512 Mi | 5 | 5 | $10.43 |
| 500m / 512 Mi | 3 | 3 | $17.39 |
| 500m / 1024 Mi | 2 | 2 | $26.08 |
| 1000m / 1024 Mi | 1 | 1 | $52.17 |
| 1000m / 2048 Mi | 1 | 1 | $52.17 |
| 2000m / 4096 Mi | 0 | 0 | — |
| 4000m / 8192 Mi | 0 | 0 | — |
Similar GKE node types
| Type | vCPU | GiB | Alloc CPU | Alloc memory | Max pods | $/month | $ per alloc GiB |
|---|---|---|---|---|---|---|---|
| e2-medium | 2 | 4 | 0.94 | 2.90 GiB | 110 | $40.38 | $13.91 |
| n4a-highcpu-2 | 2 | 4 | 1.93 | 2.90 GiB | 110 | $47.42 | $16.34 |
| c2d-highcpu-2 | 2 | 4 | 1.93 | 2.90 GiB | 110 | $54.72 | $18.85 |
| c4a-highcpu-2 | 2 | 4 | 1.93 | 2.90 GiB | 110 | $55.30 | $19.06 |
| n4-highcpu-2 | 2 | 4 | 1.93 | 2.90 GiB | 110 | $55.87 | $19.25 |
| c4-highcpu-2 | 2 | 4 | 1.93 | 2.90 GiB | 110 | $62.09 | $21.39 |
| c4n-highcpu-2 | 2 | 4 | 1.93 | 2.90 GiB | 110 | $99.34 | $34.23 |
| c4d-highcpu-2 | 2 | 3 | 1.93 | 2.15 GiB | 110 | $55.97 | $26.00 |
Closest match on other clouds
| Type | vCPU | GiB | Alloc CPU | Alloc memory | Max pods | $/month | $ per alloc GiB |
|---|---|---|---|---|---|---|---|
| t4g.medium | 2 | 4 | 1.93 | 3.47 GiB | 17 | $24.53 | $7.07 |
| t3a.medium | 2 | 4 | 1.93 | 3.47 GiB | 17 | $27.45 | $7.91 |
| t3.medium | 2 | 4 | 1.93 | 3.47 GiB | 17 | $30.37 | $8.75 |
| t2.medium | 2 | 4 | 1.93 | 3.47 GiB | 17 | $33.87 | $9.76 |
| t8i.medium | 2 | 4 | 1.93 | 2.47 GiB | 110 | $36.44 | $14.74 |
| d2plsv6 | 2 | 4 | 1.90 | 2.90 GiB | 250 | $45.26 | $15.59 |