Add externalSetMarkChain to portmap config
Looking at the online portmap doc, this seems to be the recommended configuration for k8s + portmap https://www.cni.dev/plugins/current/meta/portmap/
This commit is contained in:
parent
5b2632d44e
commit
eab5945586
|
|
@ -87,7 +87,8 @@ For example:
|
|||
},
|
||||
{
|
||||
"type": "portmap",
|
||||
"capabilities": {"portMappings": true}
|
||||
"capabilities": {"portMappings": true},
|
||||
"externalSetMarkChain": "KUBE-MARK-MASQ"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -134,7 +134,8 @@ cat << EOF | tee /etc/cni/net.d/10-containerd-net.conflist
|
|||
},
|
||||
{
|
||||
"type": "portmap",
|
||||
"capabilities": {"portMappings": true}
|
||||
"capabilities": {"portMappings": true},
|
||||
"externalSetMarkChain": "KUBE-MARK-MASQ"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue