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 2022/11/21 02:17:24 UTC

[GitHub] [apisix-helm-chart] lkad commented on issue #343: Add IngressClass To Chart

lkad commented on issue #343:
URL: https://github.com/apache/apisix-helm-chart/issues/343#issuecomment-1321361230

   > IngressClass resource is not required.
   > 
   > You can continue whether or not the resource exists. Also, you can create this resource by yourself
   
   can give me a  example config that set apisix-ignress as deafult ingressclass in cluster ? thank you every mutch . I find the k8s guid,
   have the config example,but the key sepc.controller have no idea.
    可以给个defaulingressclass的样例配置吗,我找了k8s手册和apisix的手册,还有测试用例,发现都是通过注解或者指定ingressClassName 指定apisix的,但是我想把apisix配置成默认的ingress-controller 。找了下官方的default ingress class的样例,里面的spec.controller 不知道该如何配置.
   
   apiVersion: networking.k8s.io/v1
   kind: IngressClass
   metadata:
     labels:
       app.kubernetes.io/component: controller
     name: nginx-example
     annotations:
       ingressclass.kubernetes.io/is-default-class: "true"
   spec:
     controller: k8s.io/ingress-nginx
   


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