Skip to content

Commit eab5945

Browse files
committed
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/
1 parent 5b2632d commit eab5945

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ For example:
8787
},
8888
{
8989
"type": "portmap",
90-
"capabilities": {"portMappings": true}
90+
"capabilities": {"portMappings": true},
91+
"externalSetMarkChain": "KUBE-MARK-MASQ"
9192
}
9293
]
9394
}

content/en/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ cat << EOF | tee /etc/cni/net.d/10-containerd-net.conflist
134134
},
135135
{
136136
"type": "portmap",
137-
"capabilities": {"portMappings": true}
137+
"capabilities": {"portMappings": true},
138+
"externalSetMarkChain": "KUBE-MARK-MASQ"
138139
}
139140
]
140141
}

0 commit comments

Comments
 (0)