Add port forwarding to config provided by the docker image

This commit is contained in:
Michael Wyraz
2018-12-15 23:49:48 +01:00
committed by Tomofumi Hayashi
parent 9db8f38743
commit 9b3491f9f7

View File

@@ -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"