kubernetes-guide/codeblock/cni/ptp.json

36 lines
612 B
JSON

{
"cniVersion": "0.3.1",
"name": "ptp",
"plugins": [
{
"ipMasq": false,
"ipam": {
"dataDir": "/run/cni-ipam-state",
"ranges": [
[
{
"subnet": "10.244.2.0/24"
}
]
],
"routes": [
{
"dst": "0.0.0.0/0"
}
],
"type": "host-local"
},
"mtu": 1500,
"type": "ptp"
},
{
"capabilities": {
"portMappings": true
},
"snat": false,
"externalSetMarkChain": "KUBE-MARK-MASQ",
"type": "portmap"
}
]
}