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

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:
[email protected]