48 строки
1.2 KiB
Plaintext
48 строки
1.2 KiB
Plaintext
{
|
|
"cniVersion": "0.3.0",
|
|
"name": "azure",
|
|
"adapterName" : "",
|
|
"plugins": [
|
|
{
|
|
"type": "azure-vnet",
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|