50 строки
1.3 KiB
Plaintext
50 строки
1.3 KiB
Plaintext
{
|
|
"cniVersion": "0.3.0",
|
|
"name": "azure",
|
|
"adapterName" : "",
|
|
"plugins": [
|
|
{
|
|
"type": "azure-vnet",
|
|
"mode": "bridge",
|
|
"bridge": "azure0",
|
|
"capabilities": {
|
|
"portMappings": true,
|
|
"dns": true
|
|
},
|
|
"ipam": {
|
|
"type": "azure-cns",
|
|
"mode": "overlay"
|
|
},
|
|
"dns": {
|
|
"Nameservers": [
|
|
"10.0.0.10",
|
|
"168.63.129.16"
|
|
],
|
|
"Search": [
|
|
"svc.cluster.local"
|
|
]
|
|
},
|
|
"AdditionalArgs": [
|
|
{
|
|
"Name": "EndpointPolicy",
|
|
"Value": {
|
|
"Type": "OutBoundNAT",
|
|
"ExceptionList": [
|
|
"10.240.0.0/16",
|
|
"10.0.0.0/8"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "EndpointPolicy",
|
|
"Value": {
|
|
"Type": "ROUTE",
|
|
"DestinationPrefix": "10.0.0.0/8",
|
|
"NeedEncap": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|