fix(k8s): fall back to legacy iptables - #2130
Conversation
f963e3e to
7ab8caf
Compare
|
Rebased onto current Post-rebase validation:
The PR is mergeable again. GitHub currently reports the workflow as |
7ab8caf to
b2d773b
Compare
Probe the nftables backend during node preparation and select the legacy iptables alternatives when the node kernel cannot use nftables. Apply the MSS rules through the selected system backend. Fixes apple#2120
b2d773b to
ea3c5f5
Compare
|
Rebased cleanly onto current Apple Exact-head focused verification: @codex review |
Type of Change
Motivation and Context
Closes #2120.
Probe the nftables backend during node preparation. When the node kernel cannot use it, select the available legacy iptables and ip6tables alternatives before applying the MSS rules. This also keeps subsequent Kubernetes components on the working backend.
Testing
Negative control with the former hard-coded nft path: the behavior fixture exited unsuccessfully and applied neither fallback nor MSS rules.
make fmt,make check, andgit diff --check: passed