Private Link Setup
Support Multi-AZ private link
Change service yaml
Locate the current current LoadBalancer service that is associated with private link. Change the following field in kubernetes yaml annotation of the service
yaml
service.beta.kubernetes.io/aws-load-balancer-subnets: <subnet-of-another-az-a>,<subnet-of-another-az-b>Update the endpoint service
go to aws console and find the private link endpoiont service. you should see under 'Load balancers' tab that the load balancers are already spanned across different subnets and AZs. However, the "Availability Zones" attribute of the endpoiont service itself still only has 1 AZ. this step will change that.
Click "Associate or Disassociate load balancers", then straight away click "Save Changes" without making any changes.
You should see "Availability Zones" attribute being updated to have all the AZs.