c4-highmem-4 as a GKE node
4 vCPU31 GiBx86_64Google Cloud us-central1C4 High Memory 4
Where the c4-highmem-4 goes
Default GKE setup: GKE ≤ 1.36.
CPU3.72 of 4 vCPU left for your pods
Memory27.11 GiB of 31 GiB left for your pods
your podsDaemonSets (200m, 300 MiB assumed)kubelet reservedeviction
110max pods per node
$190.29on demand / month · $0.2607/h
$113.90spot / month (varies)
c4-highmem-4 GKE max pods and allocatable memory — quick answers
- How many pods can a c4-highmem-4 run as a node with GKE ≤ 1.36? Up to 110; kubelet keeps 3684 MiB of memory and 80m CPU, leaving 27.40 GiB and 3.92 vCPU for pods.
- How many pods can a c4-highmem-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 28.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 $380.59/month on demand.
What kubelet reserves on c4-highmem-4
| Setup | Max pods | kube-reserved CPU | Memory reserved + eviction | Allocatable CPU | Allocatable memory | Memory usable |
|---|---|---|---|---|---|---|
| GKE ≤ 1.36 tiered memory reservation | 110 | 80m | 3584 Mi + 100 Mi | 3.92 | 27.40 GiB | 88.4% |
| 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 | 28.80 GiB | 92.9% |
How these numbers are computed: reservation formulas. Check a live node with kubectl describe node → Allocatable.
How many pods fit on one c4-highmem-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 | $5.14 |
| 250m / 256 Mi | 14 | 14 | $13.59 |
| 250m / 512 Mi | 14 | 14 | $13.59 |
| 500m / 512 Mi | 7 | 7 | $27.18 |
| 500m / 1024 Mi | 7 | 7 | $27.18 |
| 1000m / 1024 Mi | 3 | 3 | $63.43 |
| 1000m / 2048 Mi | 3 | 3 | $63.43 |
| 2000m / 4096 Mi | 1 | 1 | $190.29 |
| 4000m / 8192 Mi | 0 | 0 | — |
Similar GKE node types
| Type | vCPU | GiB | Alloc CPU | Alloc memory | Max pods | $/month | $ per alloc GiB |
|---|---|---|---|---|---|---|---|
| c4d-highmem-4 | 4 | 31 | 3.92 | 27.40 GiB | 110 | $180.43 | $6.58 |
| c4-highmem-4-lssd | 4 | 31 | 3.92 | 27.40 GiB | 110 | $250.29 | $9.13 |
| c4n-highmem-4 | 4 | 31 | 3.92 | 27.40 GiB | 110 | $304.48 | $11.11 |
| c4n-highmem-4-lssd | 4 | 31 | 3.92 | 27.40 GiB | 110 | $334.48 | $12.21 |
| e2-highmem-4 | 4 | 32 | 3.92 | 28.34 GiB | 110 | $131.98 | $4.66 |
| n4a-highmem-4 | 4 | 32 | 3.92 | 28.34 GiB | 110 | $147.58 | $5.21 |
| n4d-highmem-4 | 4 | 32 | 3.92 | 28.34 GiB | 110 | $162.32 | $5.73 |
| n2d-highmem-4 | 4 | 32 | 3.92 | 28.34 GiB | 110 | $166.41 | $5.87 |
Closest match on other clouds
| Type | vCPU | GiB | Alloc CPU | Alloc memory | Max pods | $/month | $ per alloc GiB |
|---|---|---|---|---|---|---|---|
| r4.xlarge | 4 | 30.5 | 3.92 | 29.53 GiB | 58 | $194.18 | $6.58 |
| i3.xlarge | 4 | 30.5 | 3.92 | 29.53 GiB | 58 | $227.76 | $7.71 |
| e4psv6 | 4 | 32 | 3.86 | 26.97 GiB | 250 | $134.32 | $4.98 |
| r6g.xlarge | 4 | 32 | 3.92 | 31.03 GiB | 58 | $147.17 | $4.74 |
| e4psv5 | 4 | 32 | 3.86 | 26.97 GiB | 250 | $147.46 | $5.47 |
| r7g.xlarge | 4 | 32 | 3.92 | 31.03 GiB | 58 | $156.37 | $5.04 |