uninstall metrics adapter when karmada cluster remove

Signed-off-by: 张潇 <xiao.zhang@daocloud.io>
This commit is contained in:
张潇 2023-09-12 19:35:27 +08:00
parent 2879c8da93
commit d928c112ac
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func NewRemoveComponentTask() workflow.Task {
Run: runRemoveComponent,
RunSubTasks: true,
Tasks: []workflow.Task{
newRemoveComponentWithServiceSubTask(constants.KarmadaMetricsAdapterComponent, util.KarmadaMetricsAdapterName),
newRemoveComponentSubTask(constants.KarmadaDeschedulerComponent, util.KarmadaDeschedulerName),
newRemoveComponentSubTask(constants.KarmadaSchedulerComponent, util.KarmadaSchedulerName),
newRemoveComponentSubTask(constants.KarmadaControllerManagerComponent, util.KarmadaControllerManagerName),