Baoyuantop commented on issue #735: URL: https://github.com/apache/apisix-helm-chart/issues/735#issuecomment-4205344130
You can differentiate multiple ingress-controller instances by configuring different values for each Helm release: 1. **IngressClass name**: `config.kubernetes.ingressClass` (values.yaml line 100) — each controller watches routes tagged with its own IngressClass 2. **Controller name**: `config.controllerName` (values.yaml line 82) 3. **Leader election ID**: `config.leaderElection.id` (values.yaml line 84) Example for two instances: ```bash # Private controller helm install ic-private apisix/apisix-ingress-controller --set config.kubernetes.ingressClass=apisix-private # Public controller helm install ic-public apisix/apisix-ingress-controller --set config.kubernetes.ingressClass=apisix-public ``` Then annotate your routes/ingresses with the corresponding IngressClass to control which controller manages them. 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]
