You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/11/18 07:56:23 UTC

[GitHub] [openwhisk-deploy-kube] ningyougang opened a new issue #652: prewarm runtime pods are not completely deleted

ningyougang opened a new issue #652:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/652


   If the number of prewarm runtime pods is low, after executed `helm delete(or uninstall) xxx`, all prewarm runtime pods are deleted completely.
   
   But if the number of prewarm runtime pods is big, after executed `helm delete(or uninstall) xxx`, some prewarm runtime pods are not deleted completely.(e.g. maybe 1/3 prewarm pods are deleted, 2/3 prewarm pods are not deleted, still Running)
   
   The reason is
   After analized the kubernets-client-4.4.2.jar source codes, when invoke below codes
   ```
           kubeRestClient
             .inNamespace(kubeRestClient.getNamespace)
             .pods()
             .withLabels(labels.asJava)
             .delete()
   ```
   Finally, it will invoke below codes
   ![image](https://user-images.githubusercontent.com/11749867/99501124-4a2a3980-29b6-11eb-8d1e-044f94d7d8cb.png)
   We can see, it deletes the runtime pods in a for statement, on the other hand, `h.delete(client, ...)` method is a sync method, due to some configuration of timeout is low, it leads to can't delete all runtime pods
   
   I will open 2 prs to solve this issue


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

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



[GitHub] [openwhisk-deploy-kube] jiangpengcheng closed issue #652: prewarm runtime pods are not completely deleted

Posted by GitBox <gi...@apache.org>.
jiangpengcheng closed issue #652:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/652


   


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

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