This article explains how to enable Accelerated Networking and Proximity Placement Groups on Kubernetes worker nodes in TKGi using a custom config.json during cluster creation.
https://docs.microsoft.com/en-us/azure/virtual-machines/co-location
TKGI
Create a config file config.json
{
"instance_groups":[
{
"name": "master",
"vm_extension":{
"accelerated_networking": "true"
}
},
{
"name": "worker",
"vm_extension":{
"accelerated_networking": "true"
}
}
]
}
Create a cluster:
tkgi create-cluster NAME -e FQDN -p small -n1 --config-file config.json
Once the cluster is created you can verify and get the UUIDtkgi cluster <cluster-name>
Run bosh configs and find the service instance and get the ID of the config to view settings.bosh config <ID>
Verify the settings are in place :
vm_extensions:
- name: service-instance-3ffbafa6-34d1-4b35-9832-f58cc27a4c8a-master-nsgroup
cloud_properties: {}
- name: service-instance_3ffbafa6-34d1-4b35-9832-f58cc27a4c8a-master-vmext
cloud_properties:
accelerated_networking: "true"
- name: service-instance_3ffbafa6-34d1-4b35-9832-f58cc27a4c8a-worker-vmext
cloud_properties:
accelerated_networking: "true"