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/05/26 17:59:37 UTC

[GitHub] [apisix-ingress-controller] rjiang-ptm opened a new issue, #1047: request help: ingress-controller will fail after k8s pod restart

rjiang-ptm opened a new issue, #1047:
URL: https://github.com/apache/apisix-ingress-controller/issues/1047

   ### Issue description
   
   The apisix-ingress-controller will fail after its Kubernetes pod restarts. Often our k8s pods will be stopped and restarted on a needed basis, when that happens, the apisix-ingress-controller pod will be still running but with `context cancelled` errors, eg:
   
   ```
   2022-05-27T01:46:41+08:00	error	apisix/route.go:119	failed to list routes: Get "http://component-apisix-admin.petuum-system-infra-apisix.svc.cluster.local:9180/apisix/admin/routes": context canceled
   2022-05-27T01:46:41+08:00	error	apisix/cluster.go:208	failed to list routes in APISIX: Get "http://component-apisix-admin.petuum-system-infra-apisix.svc.cluster.local:9180/apisix/admin/routes": context canceled
   2022-05-27T01:46:41+08:00	error	apisix/cluster.go:168	failed to sync cache	{"cost_time": "96.399µs", "cluster": "default"}
   ```
   
   The workaround is to delete the apisix-ingress-controller pod which will restore the controller state to normal. All other apisix pods are running fine.
   
   Is there a way to prevent this? or a better way than manually deleting the apisix-ingress-controller pod to recover?
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.4.0
   - your Kubernetes cluster version (output of kubectl version): 1.19 - 1.22
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   


-- 
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] github-actions[bot] closed issue #1047: request help: ingress-controller pod will error out after k8s pod restart

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1047: request help: ingress-controller pod will error out after k8s pod restart
URL: https://github.com/apache/apisix-ingress-controller/issues/1047


-- 
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 #1047: request help: ingress-controller pod will error out after k8s pod restart

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

   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] github-actions[bot] commented on issue #1047: request help: ingress-controller pod will error out after k8s pod restart

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

   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