mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
by setting bridge_network_subnet_ipv6 in client config Co-authored-by: Martina Santangelo <martina.santangelo@hashicorp.com>
53 lines
734 B
JSON
53 lines
734 B
JSON
{
|
|
"cniVersion": "0.4.0",
|
|
"name": "nomad",
|
|
"plugins": [
|
|
{
|
|
"type": "loopback"
|
|
},
|
|
{
|
|
"type": "bridge",
|
|
"bridge": "nomad",
|
|
"ipMasq": true,
|
|
"isGateway": true,
|
|
"forceAddress": true,
|
|
"hairpinMode": false,
|
|
"ipam": {
|
|
"type": "host-local",
|
|
"ranges": [
|
|
[
|
|
{
|
|
"subnet": "172.26.64.0/20"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"subnet": "3fff:cab0:0d13::/120"
|
|
}
|
|
]
|
|
],
|
|
"routes": [
|
|
{
|
|
"dst": "0.0.0.0/0"
|
|
},
|
|
{
|
|
"dst": "::/0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "firewall",
|
|
"backend": "iptables",
|
|
"iptablesAdminChainName": "NOMAD-ADMIN"
|
|
},
|
|
{
|
|
"type": "portmap",
|
|
"capabilities": {
|
|
"portMappings": true
|
|
},
|
|
"snat": true
|
|
}
|
|
]
|
|
}
|