- Rename template for /etc/cni/net.d/00-weave.conflist to 00-weave.conflist.j2
- Apply resources requests/limits to both container weave and weave-npc
This commit is contained in:
Wong Hoi Sing Edison
2018-03-28 11:16:42 +08:00
parent 015ea62e92
commit 848fc323db
3 changed files with 6 additions and 2 deletions

View 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
}
]
}