Skip to content

Commit

Permalink
Add config docs for kube-proxy nftables mode
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Nummelin <[email protected]>
  • Loading branch information
jnummelin committed Sep 25, 2024
1 parent 65647e9 commit 347f25a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@ CALICO_IPV6POOL_CIDR: "{{ spec.network.dualStack.IPv6podCIDR }}"
| Element | Description |
|---------------------|--------------------------------------------------------------------------------------------------|
| `disabled` | Disable kube-proxy altogether (default: `false`). |
| `mode` | Kube proxy operating mode, supported modes `iptables`, `ipvs`, `userspace` (default: `iptables`) |
| `mode` | Kube proxy operating mode, supported modes `iptables`, `ipvs`, `nftables`, `userspace` (default: `iptables`) |
| `iptables` | Kube proxy iptables settings |
| `ipvs` | Kube proxy ipvs settings |
| `nftables` | Kube proxy nftables |
| `nodePortAddresses` | Kube proxy [nodePortAddresses](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/) |
Default kube-proxy iptables settings:
Expand All @@ -263,6 +264,16 @@ ipvs:
udpTimeout: 0s
```
Default kube-proxy nftables settings:
```yaml
nftables:
masqueradeAll: false
masqueradeBit: null
minSyncPeriod: 0s
syncPeriod: 0s
```
#### `spec.network.nodeLocalLoadBalancing`
Configuration options related to k0s's [node-local load balancing] feature.
Expand Down

0 comments on commit 347f25a

Please sign in to comment.