Commit 991dfbf
clusterd: set TCP keepalive sysctls on pods (#36351)
## Summary
- Container network namespaces get default kernel values, not the host's
custom sysctl settings — host-level TCP keepalive tuning was being
silently overwritten by container defaults
- Adds `net.ipv4.tcp_keepalive_time=300`,
`net.ipv4.tcp_keepalive_intvl=30`, `net.ipv4.tcp_keepalive_probes=3` to
the clusterd `PodSecurityContext`
- Adds `validate_clusterd_pod()` to the orchestratord integration tests,
called from all three existing clusterd pod validation sites
(`SwapEnabledGlobal`, `StorageClass`, `ClusterdCpu`)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a259272 commit 991dfbf
2 files changed
Lines changed: 44 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1092 | 1107 | | |
1093 | 1108 | | |
1094 | 1109 | | |
1095 | 1110 | | |
1096 | 1111 | | |
| 1112 | + | |
1097 | 1113 | | |
1098 | 1114 | | |
1099 | 1115 | | |
1100 | | - | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1101 | 1120 | | |
1102 | 1121 | | |
1103 | 1122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1151 | 1171 | | |
1152 | 1172 | | |
1153 | 1173 | | |
| |||
1196 | 1216 | | |
1197 | 1217 | | |
1198 | 1218 | | |
| 1219 | + | |
1199 | 1220 | | |
1200 | 1221 | | |
1201 | 1222 | | |
| |||
1251 | 1272 | | |
1252 | 1273 | | |
1253 | 1274 | | |
| 1275 | + | |
1254 | 1276 | | |
1255 | 1277 | | |
1256 | 1278 | | |
| |||
1366 | 1388 | | |
1367 | 1389 | | |
1368 | 1390 | | |
| 1391 | + | |
1369 | 1392 | | |
1370 | 1393 | | |
1371 | 1394 | | |
| |||
0 commit comments