anjia0532 commented on issue #565:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/565#issuecomment-871971164


   @tao12345666333 
   
   ` sudo k3s kubectl get ing -o yaml -n apisix`
   
   `"ingressName":"apisix:apisix-dashboard"` use default ingress
   
   `apisix-dashboard-test` use apisix ingress 
   
   ```yaml
   apiVersion: v1
   items:
   - apiVersion: networking.k8s.io/v1
     kind: Ingress
     metadata:
       annotations:
         field.cattle.io/creatorId: user-mzfcd
         field.cattle.io/ingressState: 
'{"YXBpc2l4LWRhc2hib2FyZC9hcGlzaXgvYXBpc2l4LWRhc2hib2FyZC5zaHVuemhvbmdrZWppLmNuLy85MDAw":"deployment:apisix:apisix-dashboard"}'
         field.cattle.io/publicEndpoints: 
'[{"addresses":["192.168.16.242","192.168.16.243","192.168.16.244","192.168.16.247","192.168.16.248","192.168.16.249","192.168.16.250","192.168.16.251","192.168.16.252"],"port":80,"protocol":"HTTP","serviceName":"apisix:ingress-144dc33a48f845cba7d229da36cf93f7","ingressName":"apisix:apisix-dashboard","hostname":"apisix-dashboard.xxx.cn","allNodes":false}]'
       creationTimestamp: "2021-07-01T03:49:44Z"
       generation: 1
       labels:
         cattle.io/creator: norman
       name: apisix-dashboard
       namespace: apisix
       resourceVersion: "40819935"
       uid: f13e6ac6-f5e9-422b-a51c-2b57d10162a2
     spec:
       rules:
       - host: apisix-dashboard.xxx.cn
         http:
           paths:
           - backend:
               service:
                 name: ingress-144dc33a48f845cba7d229da36cf93f7
                 port:
                   number: 9000
             pathType: ImplementationSpecific
     status:
       loadBalancer:
         ingress:
         - ip: 192.168.16.242
         - ip: 192.168.16.243
         - ip: 192.168.16.244
         - ip: 192.168.16.247
         - ip: 192.168.16.248
         - ip: 192.168.16.249
         - ip: 192.168.16.250
         - ip: 192.168.16.251
         - ip: 192.168.16.252
   - apiVersion: networking.k8s.io/v1
     kind: Ingress
     metadata:
       annotations:
         field.cattle.io/creatorId: user-mzfcd
         field.cattle.io/ingressState: 
'{"YXBpc2l4LWRhc2hib2FyZC10ZXN0L2FwaXNpeC9hcGlzaXgtZGFzaGJvYXJkLnN5cG0uc2h1bnpob25na2VqaS5uZXQvLzkwMDA=":"deployment:apisix:apisix-dashboard"}'
         kubernetes.io/ingress.class: apisix
       creationTimestamp: "2021-07-01T06:42:14Z"
       generation: 1
       labels:
         cattle.io/creator: norman
       name: apisix-dashboard-test
       namespace: apisix
       resourceVersion: "40923164"
       uid: 48cc1527-8e0e-4149-8ef7-286a7d59a015
     spec:
       rules:
       - host: apisix-dashboard.xxx.net
         http:
           paths:
           - backend:
               service:
                 name: ingress-d5cd807224d030ff630f4f78b12b3861
                 port:
                   number: 9000
             pathType: ImplementationSpecific
     status:
       loadBalancer: {}
   kind: List
   metadata:
     resourceVersion: ""
     selfLink: ""
   ```


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


Reply via email to