commit
52460ebf6e
@ -1,24 +1,26 @@
|
|||||||
{
|
{
|
||||||
"name": "k8s-pod-network",
|
"name": "k8s-pod-network",
|
||||||
"cniVersion": "0.3.1",
|
"cniVersion": "0.3.1",
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
"type": "ptp",
|
"type": "ptp",
|
||||||
"mtu": 1460,
|
"mtu": 1460,
|
||||||
"ipam": {
|
"ipam": {
|
||||||
"type": "host-local",
|
"type": "host-local",
|
||||||
"subnet": "{{.PodCIDR}}",
|
"subnet": "{{.PodCIDR}}",
|
||||||
"routes": [
|
"routes": [
|
||||||
{"dst": "0.0.0.0/0"}
|
{
|
||||||
]
|
"dst": "0.0.0.0/0"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "portmap",
|
"type": "portmap",
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
"portMappings": true
|
"portMappings": true
|
||||||
},
|
},
|
||||||
"noSnat": true
|
"noSnat": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user