yunikorn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (Jira)" <>
Subject [jira] [Resolved] (YUNIKORN-36) Cleanup leaked resources when deleting the helm chart
Date Fri, 17 Apr 2020 21:50:00 GMT


Weiwei Yang resolved YUNIKORN-36.
    Fix Version/s: 0.9
       Resolution: Fixed

> Cleanup leaked resources when deleting the helm chart
> -----------------------------------------------------
>                 Key: YUNIKORN-36
>                 URL:
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: shim - kubernetes
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> Several resources may be leaked after this helm chart is deleted(uninstalled):
> - admission-controller deployment/service/mutatingwebhook/validatingwebhook/secret. The
reason is that admission-controller resources are deleted via preStop hook of yunikorn-scheduler
pod, the ServiceAccount and ClusterRoleBinding resources are probably already deleted then.

> - yunikorn-configs ConfigMap.  This one is configured as pre-install hook in helm chart,
it won't  be deleted when uninstalling.
> All resources are expected to be cleaned up after the helm chart is deleted, to achieve
that, this issue will take the ServiceAccount and ClusterRoleBinding resources as pre-install
hooks and create a cleanup pod to release ConfigMap/ClusterRoleBinding/ServiceAccount resources
as prometheus operator did (refer to

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message