How to remove the Flux CD package after disabling continuous delivery from Tanzu Mission Control.
search cancel

How to remove the Flux CD package after disabling continuous delivery from Tanzu Mission Control.

book

Article ID: 375864

calendar_today

Updated On:

Products

Tanzu Mission Control VMware Tanzu Mission Control

Issue/Introduction

This KB will help you to remove the installed resources (source-controller and kustomize-controller) from the TMC managed cluster.

Environment

VMware Tanzu Mission Control

Tanzu Mission Control

Cause

When you disable continuous delivery for a cluster or cluster group, Tanzu Mission Control removes the continuous delivery extension and CRD, and the GitRepository and Kustomization intents. However, the package install resources in the tanzu-fluxcd-packageinstalls namespace are not removed from the clusters.

Resolution

  • Use the following commands. Make sure you replace cluster-name and other details  relevant to your cluster.
tanzu mission-control tanzupackage install delete  kustomize-controller --cluster-name  <cluster-name> -m <management-cluster-name>   -p <provisioner-name>   --namespace-name  tanzu-fluxcd-packageinstalls

 

  • Verify the package is deleted :
tanzu mission-control tanzupackage install list --cluster-name <cluster-name>  -m <management-cluster-name>   -p <provisioner-name>  --namespace-name  tanzu-fluxcd-packageinstalls

Additional Information

The tmc command-line interface will be removed and no longer supported after May 2024. You must complete your transition to the tanzu CLI before May 31, 2024.
The Tanzu Mission Control  tmc  CLI has been in deprecation since May 2023, after the introduction of the tanzu CLI. 
For information about tanzu CLI commands, see the VMware Tanzu CLI Reference - Tanzu Mission Control Plugins.

Please refer the docs for more details to Disable continuous delivery.