'how to create basic sku load balancer in YAML on Azure AKS
By default the SKU used when creating a load balancer in AKS is standard, for development if you want to use basic SKU we have to use the command line az aks create -g RGName -n ClusterName --load-balancer-sku basic
But could not find anything on how to specify the --load-balancer-sku in the yaml file.
Current YAML File AS-IS given below, what to add to make the SKU basic?
apiVersion: v1
kind: Service
metadata:
name: hello-world-svc
spec:
selector:
app: hello-world-svc
ports:
- protocol: TCP
port: 80
targetPort: 3000
type: LoadBalancer
Solution 1:[1]
you can specify the SKU per ENV with passing a config file to the Cloud Controller Manager as of here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Philip Welz |
