You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/28 12:21:20 UTC

[GitHub] [pulsar] fantapsody opened a new issue #9754: Clean up function instances after deleting the broker cluster when using the Kubernetes runtime

fantapsody opened a new issue #9754:
URL: https://github.com/apache/pulsar/issues/9754


   **Is your enhancement request related to a problem? Please describe.**
   In a Kubernetes environment, if the functions are not deleted before the broker cluster is deleted, the function objects (StatefulSets and Services) are left undeleted. It seems the best practice to clean up these objects is to add customized labels to the Kubernetes runtime configuration and then find objects to delete with these labels, is it?
   
   **Describe the solution you'd like**
   Pulsar may accept an [owner reference](https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/) as a new Kubernetes runtime configuration and add the owner reference to function objects automatically. The owner reference might point to an object representing the broker cluster. And when the broker object is deleted, the function objects should be deleted by the garbage collector automatically.
   
   **Describe alternatives you've considered**
   
   **Additional context**
   
   


----------------------------------------------------------------
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] [pulsar] codelipenghui commented on issue #9754: Clean up function instances after deleting the broker cluster when using the Kubernetes runtime

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #9754:
URL: https://github.com/apache/pulsar/issues/9754#issuecomment-1058892837


   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

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