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/06/13 07:30:30 UTC

[GitHub] [openwhisk-deploy-kube] ningyougang opened a new issue #610: Cannot delete invoker runtime pod after execute helm delete

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


   Recently, i am testing this repo to deploy openwhisk on k8s cluster.
   
   When i deploy openwhisk on a multiple-nodes k8s cluster which is setup by `kubeadm`,
   finally, i execute `helm delete ${release} -n openwhisk` to delete the lease, but sometime, the prewarm pods are not deleted, e.g.
   ```
   # helm delete openwhisk-1592030974 -n openwhisk
   release "openwhisk-1592030974" uninstalled
   # kubectl get pods -n openwhisk
   NAME                                                    READY   STATUS    RESTARTS   AGE
   wskopenwhisk-1592030974-invoker-00-1-prewarm-nodejs10   1/1     Running   0          30m
   wskopenwhisk-1592030974-invoker-00-4-prewarm-nodejs10   1/1     Running   0          24m
   ```
   If i want to delete, need to execute `kubectl delete pods ${podName} -n openwhisk` manually.
   
   Someone knows the reason why can't delete the prewarm pod via `helm delete ${releaseName} -n openwhisk`


----------------------------------------------------------------
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] dgrove-oss closed issue #610: Cannot delete prewarm pod after execute helm delete

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


   


----------------------------------------------------------------
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] dgrove-oss commented on issue #610: Cannot delete prewarm pod after execute helm delete

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #610:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/610#issuecomment-646246426


   Hi.  Helm doesn't know about the pods the invokers create for user actions.  It only knows about the resource that are created by the `helm install`.  What I tend to do is just delete the openwhisk namespace after I use helm to delete the main install to get rid of the action pods.


----------------------------------------------------------------
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] dgrove-oss commented on issue #610: Cannot delete prewarm pod after execute helm delete

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #610:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/610#issuecomment-800589490


   Going to close this as a known limitation.  You can use the label on the pod to delete them all in one command if you don't want to delete the namespace.


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