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/09/10 14:05:20 UTC

[GitHub] [apisix-ingress-controller] sanjimoh opened a new issue, #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

sanjimoh opened a new issue, #1326:
URL: https://github.com/apache/apisix-ingress-controller/issues/1326

   ### Issue description
   
   - Created a Gateway route configuration -
   
   ```
   apiVersion: gateway.networking.k8s.io/v1alpha2
   kind: HTTPRoute
   metadata:
     name: left
   spec:
     parentRefs:
       - name: apisix-gateway
     rules:
       - matches:
         - path:
             type: PathPrefix
             value: /
         backendRefs:
           - name: httpbin
             port: 80
   ```
   
   - The above route configuration created a corresponding apisix route resource -
   ```
   $ curl http://127.0.0.1:9181/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1' | jq '.'
   {
     "count": 1,
     "node": {
       "dir": true,
       "key": "/apisix/routes",
       "nodes": [
         {
           "createdIndex": 89,
           "key": "/apisix/routes/5a4b0bee",
           "value": {
             "id": "5a4b0bee",
             "create_time": 1662817702,
             "status": 1,
             "labels": {
               "managed-by": "apisix-ingress-controller"
             },
             "uri": "/*",
             "priority": 0,
             "upstream_id": "18fce503",
             "desc": "Created by apisix-ingress-controller, DO NOT modify it manually",
             "update_time": 1662817702
           },
           "modifiedIndex": 89
         }
       ]
     },
     "action": "get"
   }
   ```
   
   - Delete the Kubernetes gateway route configuration
   - Post the above step I would expect the corresponding route configuration in apisix should be cleaned up. However, I still see the route configuration in the apisix API Gateway.
   
   
   ### Environment
   
   Installed apisix through helm using the following command -
   ```
   $ helm install apisix apisix/apisix --namespace ingress-apisix --create-namespace --devel --set gateway.type=NodePort --set gateway.http.nodePort=30800 --set ingress-controller.enabled=true --set ingress-controller.config.kubernetes.enableGatewayAPI=true --set ingress_publish_service="ingress-apisix/apisix-gateway"
   ```
   Following is the version detail of app and helm chart -
   ```
   $ helm list
   NAME  	NAMESPACE     	REVISION	UPDATED                             	STATUS  	CHART            	APP VERSION
   apisix	ingress-apisix	1       	2022-09-10 18:56:13.397264 +0530 IST	deployed	apisix-0.11.1-rc1	2.15.0
   ```
   
   ### Minimal test code / Steps to reproduce
   
   Create a Kubernetes Gateway HTTP route resource and then delete the same. You will notice the corresponding Apisix route configuration are not being deleted.
   
   ### Actual result
   
   Apisix route configurations are not deleted when the Kubernetes Gateway HTTP route resource is deleted.
   
   ### Error log
   
   Attached are the relevant logs for reference -
   [apisix-ingress-controller-7c956bcf9d-bqkcg.log](https://github.com/apache/apisix-ingress-controller/files/9540502/apisix-ingress-controller-7c956bcf9d-bqkcg.log)
   [apisix-5fc9b45c69-nrfd5.log](https://github.com/apache/apisix-ingress-controller/files/9540503/apisix-5fc9b45c69-nrfd5.log)
   
   
   ### Expected result
   
   _No response_


-- 
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.apache.org

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


[GitHub] [apisix-ingress-controller] sanjimoh commented on issue #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

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

   Thanks!


-- 
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] github-actions[bot] commented on issue #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1326:
URL: https://github.com/apache/apisix-ingress-controller/issues/1326#issuecomment-1364788953

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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 #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

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

   Thanks for your willingness to actively try our pre-releases, it's important to us! We would like to receive various feedback from the community so that we can release a stable official version


-- 
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] github-actions[bot] commented on issue #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

Posted by github-actions.
github-actions[bot] commented on issue #1326:
URL: https://github.com/apache/apisix-ingress-controller/issues/1326#issuecomment-1402921416

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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] github-actions[bot] closed issue #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

Posted by github-actions.
github-actions[bot] closed issue #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations
URL: https://github.com/apache/apisix-ingress-controller/issues/1326


-- 
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 #1326: Deletion of Kubernetes Gateway httproutes resource is not deleting the corresponding Apisix route configurations

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

   #1315 has implemented this function and will carry it in the official version 1.5.0.  Will release next week


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