mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
fix nodePort for weave
This commit is contained in:
16
roles/network_plugin/weave/templates/weavenet.conflist.j2
Normal file
16
roles/network_plugin/weave/templates/weavenet.conflist.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"cniVersion": "0.3.0",
|
||||
"name": "mynet",
|
||||
"plugins": [
|
||||
{
|
||||
"name": "weave",
|
||||
"type": "weave-net",
|
||||
"hairpinMode": true
|
||||
},
|
||||
{
|
||||
"type": "portmap",
|
||||
"capabilities": {"portMappings": true},
|
||||
"snat": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user