Skip to content

Commit 0f014c5

Browse files
authored
Merge pull request #34430 from champtar/portmap
Add externalSetMarkChain to portmap config
2 parents 8879e6d + eab5945 commit 0f014c5

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
@@ -109,7 +109,8 @@ If you want to enable `hostPort` support, you must specify `portMappings capabil
109109
},
110110
{
111111
"type": "portmap",
112-
"capabilities": {"portMappings": true}
112+
"capabilities": {"portMappings": true},
113+
"externalSetMarkChain": "KUBE-MARK-MASQ"
113114
}
114115
]
115116
}

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
@@ -129,7 +129,8 @@ cat << EOF | tee /etc/cni/net.d/10-containerd-net.conflist
129129
},
130130
{
131131
"type": "portmap",
132-
"capabilities": {"portMappings": true}
132+
"capabilities": {"portMappings": true},
133+
"externalSetMarkChain": "KUBE-MARK-MASQ"
133134
}
134135
]
135136
}

0 commit comments

Comments
 (0)