6.5. Deleting the Argo CD pipeline post-migration


After you migrate all single-node OpenShift clusters from using SiteConfig CRs to ClusterInstance CRs, you can delete the original Argo CD application and related resources that managed the SiteConfig CRs.

참고

Only delete the Argo CD application and related resources after you have confirmed that all clusters are successfully managed by the new Argo CD application that uses ClusterInstance CRs. Additionally, if the Argo CD project was only used for the migrated cluster’s Argo application, you can also delete this project.

Prerequisites

  • You have logged in to the hub cluster as a user with cluster-admin privileges.
  • All single-node OpenShift clusters have been successfully migrated to use ClusterInstance CRs and are managed by another Argo CD application.

Procedure

  1. Delete the original Argo CD application that managed the SiteConfig CRs:

    $ oc delete application.argo clusters -n openshift-gitops
    • Replace clusters with the name of your original Argo CD application.
  2. Delete the original Argo CD project by running the following command:

    $ oc delete appproject ztp-app-project -n openshift-gitops
    • Replace ztp-app-project with the name of your original Argo CD project.

Verification

  1. Confirm that the original Argo CD application is deleted by running the following command:

    $ oc get appproject -n openshift-gitops

    Example output

    NAME                 AGE
    default              6d20h
    policy-app-project   2d22h
    ztpv2-app-project    44h

    • The original Argo CD project in this example, ztp-app-project is not present in the output.
  2. Confirm that the original Argo CD project is deleted by running the following command:

    oc get applications.argo -n openshift-gitops

    Example output

    NAME                       SYNC STATUS   HEALTH STATUS
    clusters-v2                Synced        Healthy
    policies                   Synced        Healthy

    • The original Argo CD application in this example, clusters is not present in the output.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동