Re: [I] How to specify a static IP on LoadBalancer in Azure [apisix-helm-chart]
Baoyuantop commented on issue #746: URL: https://github.com/apache/apisix-helm-chart/issues/746#issuecomment-4205299627 You can specify a static IP or load balancer configuration for Azure by using `service.annotations` in `values.yaml` (line 172-173). For example: ```yaml service: type: LoadBalancer annotations: service.beta.kubernetes.io/azure-load-balancer-resource-group: "your-rg" loadBalancerIP: "your-static-ip" ``` The gateway service template (`service-gateway.yaml` lines 22-25) renders these annotations onto the Service resource. This is standard Kubernetes usage for cloud providers. Closing as this is a usage question. If you still need help, please feel free to reopen. -- 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]
Re: [I] How to specify a static IP on LoadBalancer in Azure [apisix-helm-chart]
Baoyuantop closed issue #746: How to specify a static IP on LoadBalancer in Azure URL: https://github.com/apache/apisix-helm-chart/issues/746 -- 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]
Re: [I] How to specify a static IP on LoadBalancer in Azure [apisix-helm-chart]
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: 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: ``` -- 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]
Re: [I] How to specify a static IP on LoadBalancer in Azure [apisix-helm-chart]
Somaliadreams commented on issue #746: URL: https://github.com/apache/apisix-helm-chart/issues/746#issuecomment-2435439122 This is also affecting us on migrating from Nginx Ingress towards APISIX. -- 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]
