You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/04 03:07:24 UTC

[GitHub] [apisix-ingress-controller] jikunchong opened a new issue #736: bug: 在非 ingress-apisix 命名空间下部署时,wait-apisix-admin 失败,脚本错误

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #736: bug: 在非 ingress-apisix 命名空间下部署时,wait-apisix-admin 失败,脚本错误

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #736:
URL: https://github.com/apache/apisix-ingress-controller/issues/736#issuecomment-960422635


   ref: helm install apisix charts/apisix --set gateway.type=NodePort --set ingress-controller.enabled=true --set ingress-controller.config.apisix.serviceNamespace=apisix-ingress-v13 --namespace apisix-ingress-v13 --create-namespace


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #736: bug: 在非 ingress-apisix 命名空间下部署时,wait-apisix-admin 失败,脚本错误

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #736:
URL: https://github.com/apache/apisix-ingress-controller/issues/736#issuecomment-960422774


   ref: https://github.com/apache/apisix-helm-chart/blob/0ddba2d6d17376654553675604da3f1018521ea1/charts/apisix-ingress-controller/values.yaml#L100-L102


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #736: bug: 在非 ingress-apisix 命名空间下部署时,wait-apisix-admin 失败,脚本错误

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #736:
URL: https://github.com/apache/apisix-ingress-controller/issues/736#issuecomment-960422141


   you should add `--set ingress-controller.config.apisix.serviceNamespace=<your namespace>` flag.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 removed a comment on issue #736: bug: 在非 ingress-apisix 命名空间下部署时,wait-apisix-admin 失败,脚本错误

Posted by GitBox <gi...@apache.org>.
tao12345666333 removed a comment on issue #736:
URL: https://github.com/apache/apisix-ingress-controller/issues/736#issuecomment-960422635


   ref: helm install apisix charts/apisix --set gateway.type=NodePort --set ingress-controller.enabled=true --set ingress-controller.config.apisix.serviceNamespace=apisix-ingress-v13 --namespace apisix-ingress-v13 --create-namespace


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] jikunchong commented on issue #736: bug: 在非 ingress-apisix 命名空间下部署时,wait-apisix-admin 失败,脚本错误

Posted by GitBox <gi...@apache.org>.
jikunchong commented on issue #736:
URL: https://github.com/apache/apisix-ingress-controller/issues/736#issuecomment-960419185


   我用的是 1.3.0 版本,helm 部署的。
   
   sudo helm install apisix apisix/apisix \
     --set apisix.image.tag=2.10.1-alpine \
     --set gateway.type=NodePort \
     --set admin.allow.ipList="{0.0.0.0/0}" \
     --set dashboard.enabled=true \
     --set ingress-controller.enabled=true \
     --namespace apisix-system


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org