Commit 64d5608
committed
fix: add selector to shared dataplane Service for reliable endpoint discovery
The infrastructure reconciler creates the shared dataplane Service without a
selector and manages EndpointSlices directly via node snapshot version matching.
When the dataplane has not acknowledged the current snapshot version, no
EndpointSlices are created, leaving the Service without endpoints and blocking
Gateway convergence indefinitely.
Add the DataplaneSelector (app: nantian-gw-dataplane) to the shared Service spec
so the Kubernetes EndpointSlice controller creates endpoints independently.
Foreign EndpointSlices are no longer deleted for the shared Service, allowing
them to serve as a fallback when managed slices are not yet ready.
This fixes Gateway Programmed=False with 'Waiting for derived frontend
EndpointSlices to converge' on fresh deployments.1 parent eb12748 commit 64d5608
4 files changed
Lines changed: 11 additions & 5 deletions
File tree
- internal/infrastructure
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
970 | 970 | | |
971 | 971 | | |
972 | 972 | | |
973 | | - | |
974 | | - | |
| 973 | + | |
| 974 | + | |
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments