mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-01 17:09:45 +00:00
Add port forwarding to config provided by the docker image
This commit is contained in:
committed by
Tomofumi Hayashi
parent
9db8f38743
commit
9b3491f9f7
@@ -1,14 +1,29 @@
|
|||||||
{
|
{
|
||||||
"name": "multus-cni-network",
|
"name": "multus-cni-network",
|
||||||
"type": "multus",
|
"type": "multus",
|
||||||
|
"capabilities": {
|
||||||
|
"portMappings": true
|
||||||
|
},
|
||||||
"delegates": [
|
"delegates": [
|
||||||
{
|
{
|
||||||
"type": "flannel",
|
"cniVersion": "0.3.1",
|
||||||
"name": "flannel.1",
|
"name": "default-cni-network",
|
||||||
"delegate": {
|
"plugins": [
|
||||||
"isDefaultGateway": true,
|
{
|
||||||
"hairpinMode": true
|
"type": "flannel",
|
||||||
}
|
"name": "flannel.1",
|
||||||
|
"delegate": {
|
||||||
|
"isDefaultGateway": true,
|
||||||
|
"hairpinMode": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "portmap",
|
||||||
|
"capabilities": {
|
||||||
|
"portMappings": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig"
|
"kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig"
|
||||||
|
Reference in New Issue
Block a user