Commit e012e09
committed
fix(vm): fix gateway readiness timeout with correct port mapping and aligned pre-bake
Two issues caused the gateway service readiness check to time out:
1. Port mapping mismatch: gvproxy mapped host:30051 → VM:8080, but with
bridge CNI the pod listens on 8080 inside its network namespace, not
on the VM's root namespace. Changed to 30051:30051 so traffic flows
through the NodePort service (kube-proxy nftables → pod:8080).
2. Pod cycling from helm upgrade: build-rootfs.sh pre-baked with
hostNetwork=true and automountServiceAccountToken=false, but
gateway-init.sh changed these at boot, triggering a HelmChart
reconcile that killed the pre-baked pod ~90s in. Aligned pre-bake
values (hostNetwork=false, automountServiceAccountToken=true) to
match runtime, eliminating the manifest delta.1 parent 070bcca commit e012e09
2 files changed
+17
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments