kubernetes-guide/codeblock/cni/ptp.json

36 lines
612 B
JSON
Raw Normal View History

2023-11-19 18:34:24 +08:00
{
"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"
}
]
}