You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "wszgrcy (via GitHub)" <gi...@apache.org> on 2023/11/16 02:06:25 UTC

Re: [I] default IngressClass Controller [apisix-ingress-controller]

wszgrcy commented on issue #1653:
URL: https://github.com/apache/apisix-ingress-controller/issues/1653#issuecomment-1813661914

   终于把apisix搞上了....说下遇到的坑
   首先是helm安装,遇到一些镜像拉不下来问题(国内通病...没啥可说的)
   然后就是拉下来之后因为默认是NodePort所以要修改LoadBalancer...这个也还算比较明显
   最后就是没有这个ingressclass.因为之前用nginx/traefik,他们默认部署成功后会添加一个Ingressclass然后直接切换就ok了.
   但是apisix是通过注解`kubernetes.io/ingress.class:apisix`(不知道是不是常量),然后到dashboard中配置.
   > 当然也可以直接手动加路由
   > 刚开始打开dashboard的时候还以为只能手动输入.....
   我第一次搞的时候,差点怀疑人生.怎么安装完死活没有`ingressclass`.还以为配置有问题,不断修改.(虽然我知道有dashboard,但是以为是配置完再看的)
   后来看了n多文章,都没提到ingressclass问题,才觉得可能出现问题了,最后发现用的真是注解(虽然之前我也看到了注解),但是一看有`ingress.class`就下意识去找`IngressClass`资源,发现没有,就以为是这一步错了.....
   


-- 
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