bstasz commented on issue #10422:
URL: https://github.com/apache/apisix/issues/10422#issuecomment-2160284418
I have the same issue. Reproduced in both 3.3.0 and 3.9.1. We have
kubernetes discovery set up following the minimal setup and the instructions in
the values.yaml:
```
discovery:
kubernetes: { }
# The prerequisites for the above minimal Kubernetes example:
# 1. [Optional] Set `.serviceAccount.create` to `true` to create a
dedicated ServiceAccount.
# It is recommended to do so, otherwise the default ServiceAccount
"default" will be used.
# 2. [Required] Set `.rbac.create` to `true` to create and bind the
necessary RBAC resources.
# This grants the ServiceAccount in use to List-Watch Kubernetes
Endpoints resources.
# 3. [Required] Include the following environment variables in
`.nginx.envs` to pass them into
# nginx worker processes
(https://nginx.org/en/docs/ngx_core_module.html#env):
# - KUBERNETES_SERVICE_HOST
# - KUBERNETES_SERVICE_PORT
# This is for allowing the default `host` and `port` of
`.discovery.registry.kubernetes.service`.
```
--
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]