jwthanh commented on issue #746:
URL: 
https://github.com/apache/apisix-helm-chart/issues/746#issuecomment-2682590486

   You can set the service annotations for gateway service here 
https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix-ingress-controller/templates/service-apisix.yaml#L6-L8
   
   Following the MIcrosoft documentation here 
https://learn.microsoft.com/en-us/azure/aks/static-ip
   
   ```yaml
   apiVersion: v1
   kind: Service
   metadata:
     annotations:
       service.beta.kubernetes.io/azure-load-balancer-resource-group: <node 
resource group name>
       service.beta.kubernetes.io/azure-pip-name: myAKSPublicIP
     name: azure-load-balancer
   spec:
     type: LoadBalancer
     ports:
     - port: 80
     selector:
       app: azure-load-balancer
   ```
   
   So the helm values is
   
   ```yaml
   ...
   spec:
     values:
       gateway:
         type: LoadBalancer
         annotations:
           service.beta.kubernetes.io/azure-pip-name: myAKSPublicIP
           service.beta.kubernetes.io/azure-load-balancer-resource-group: <node 
resource group name>
   ```   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to