jikunchong opened a new issue #736:
URL: https://github.com/apache/apisix-ingress-controller/issues/736
### Issue description
在非 ingress-apisix 命名空间下部署时, 报错:
nc: bad address 'apisix-admin.ingress-apisix.svc.cluster.local'
waiting for apisix-admin
原因:
wait-apisix-admin 初始化脚本,只找固定命名空间:ingress-apisix
initContainers:
- name: wait-apisix-admin
image: 'busybox:1.28'
command:
- sh
- '-c'
- >-
until nc -z apisix-admin.ingress-apisix.svc.cluster.local 9180 ; do
echo waiting for apisix-admin; sleep 2; done;
手动变更后,才能正常初始化。
### Environment
* your apisix-ingress-controller version (output of
`apisix-ingress-controller version --long`);
* your Kubernetes cluster version (output of `kubectl version`);
* if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (`uname -a`).
### Minimal test code / Steps to reproduce the issue
1.
2.
3.
### What's the actual result? (including assertion message & call stack if
applicable)
### What's the expected result?
--
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]