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

[GitHub] [apisix-ingress-controller] szhengli commented on issue #1988: why the apisix ingressClass CANNOT be found, by run "kubectl get ingressClass"

szhengli commented on issue #1988:
URL: https://github.com/apache/apisix-ingress-controller/issues/1988#issuecomment-1736760213

   > Because we didn't create it by default, you can manually create it yourself.
   
   even apisix doestno appear in the output of   "kubectl get ingressClass",  it can still use it to create the ingress, as follow:
   apiVersion: networking.k8s.io/v1
   kind: Ingress
   metadata:
     name: httpbin-route
   spec:
     ingressClassName: apisix
     rules:
       - host: local.httpbin.org
         http:
           paths:
             - backend:
                 service:
                   name: httpbin
                   port:
                     number: 80
               path: /
               pathType: Prefix
   
   WHY ?
   


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