mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 01:23:48 +00:00
Add rule to allow healthcheck nodeport traffic in filter table
1. For iptables mode, add KUBE-NODEPORTS chain in filter table. Add rules to allow healthcheck node port traffic. 2. For ipvs mode, add KUBE-NODE-PORT chain in filter table. Add KUBE-HEALTH-CHECK-NODE-PORT ipset to allow traffic to healthcheck node port.
This commit is contained in:
@@ -38,6 +38,8 @@ const (
|
||||
Jump = "-j "
|
||||
// Reject specifies the reject target
|
||||
Reject = "REJECT"
|
||||
// Accept specifies the accept target
|
||||
Accept = "ACCEPT"
|
||||
// ToDest represents the flag used to specify the destination address in DNAT
|
||||
ToDest = "--to-destination "
|
||||
// Recent represents the sub-command recent that allows to dynamically create list of IP address to match against
|
||||
|
Reference in New Issue
Block a user