diff --git a/operator/pkg/tasks/deinit/component.go b/operator/pkg/tasks/deinit/component.go index aa9d883bcc1c..43d65201d94d 100644 --- a/operator/pkg/tasks/deinit/component.go +++ b/operator/pkg/tasks/deinit/component.go @@ -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),