Chapter 6. Removing Service Telemetry Framework from the Red Hat OpenShift Container Platform environment


Remove Service Telemetry Framework (STF) from an Red Hat OpenShift Container Platform environment if you no longer require the STF functionality.

To remove STF from the Red Hat OpenShift Container Platform environment, you must perform the following tasks:

  1. Delete the namespace.
  2. Remove the cert-manager Operator.

6.1. Deleting the namespace

To remove the operational resources for STF from Red Hat OpenShift Container Platform, delete the namespace.

Procedure

  1. Run the oc delete command:

    $ oc delete project service-telemetry
    Copy to Clipboard Toggle word wrap
  2. Verify that the resources have been deleted from the namespace:

    $ oc get all
    No resources found.
    Copy to Clipboard Toggle word wrap

6.2. Removing the cert-manager Operator

If you are not using the cert-manager Operator for any other applications, delete the Subscription, ClusterServiceVersion, and CustomResourceDefinitions.

Procedure

  1. Delete the Subscription from the openshift-cert-manager-operator namespace:

    $ oc delete --namespace=openshift-cert-manager-operator subscription openshift-cert-manager-operator
    
    subscription.operators.coreos.com "openshift-cert-manager-operator" deleted
    Copy to Clipboard Toggle word wrap
  2. Retrieve the version number of your installed ClusterServiceVersion:

    $ oc get --namespace=openshift-cert-manager-operator subscription openshift-cert-manager-operator -oyaml | grep currentCSV
    Copy to Clipboard Toggle word wrap

    Example output:

      currentCSV: openshift-cert-manager.v1.7.1
    Copy to Clipboard Toggle word wrap
  3. Delete the ClusterServiceVersion from the openshift-cert-manager-operator namespace:

    $ oc delete --namespace=openshift-cert-manager-operator csv openshift-cert-manager.v1.7.1
    Copy to Clipboard Toggle word wrap

    Example output:

    clusterserviceversion.operators.coreos.com "openshift-cert-manager.v1.7.1" deleted
    Copy to Clipboard Toggle word wrap
  4. Get the current list of CustomResourceDefinitions provided by the Operator so they can be deleted after removal of the ClusterServiceVersion:

    $ oc get csv -n openshift-cert-manager-operator openshift-cert-manager.v1.7.1 -oyaml | grep "kind: CustomResourceDefinition" -A2 | grep name | awk '{print $2}'
    Copy to Clipboard Toggle word wrap

    Example output:

    certificaterequests.cert-manager.io
    certificates.cert-manager.io
    certmanagers.config.openshift.io
    certmanagers.operator.openshift.io
    challenges.acme.cert-manager.io
    clusterissuers.cert-manager.io
    issuers.cert-manager.io
    orders.acme.cert-manager.io
    Copy to Clipboard Toggle word wrap
  5. Delete the CustomResourceDefinitions related to the cert-manager Operator:

    $ oc delete crd certificaterequests.cert-manager.io certificates.cert-manager.io certmanagers.config.openshift.io certmanagers.operator.openshift.io challenges.acme.cert-manager.io clusterissuers.cert-manager.io issuers.cert-manager.io orders.acme.cert-manager.io
    Copy to Clipboard Toggle word wrap

    Example output:

    customresourcedefinition.apiextensions.k8s.io "certificaterequests.cert-manager.io" deleted
    customresourcedefinition.apiextensions.k8s.io "certificates.cert-manager.io" deleted
    customresourcedefinition.apiextensions.k8s.io "certmanagers.config.openshift.io" deleted
    customresourcedefinition.apiextensions.k8s.io "certmanagers.operator.openshift.io" deleted
    customresourcedefinition.apiextensions.k8s.io "challenges.acme.cert-manager.io" deleted
    customresourcedefinition.apiextensions.k8s.io "clusterissuers.cert-manager.io" deleted
    customresourcedefinition.apiextensions.k8s.io "issuers.cert-manager.io" deleted
    customresourcedefinition.apiextensions.k8s.io "orders.acme.cert-manager.io" deleted
    Copy to Clipboard Toggle word wrap
  6. Delete the namespaces owned by the cert-manager Operator:

    $ oc delete project openshift-cert-manager openshift-cert-manager-operator
    Copy to Clipboard Toggle word wrap

    Example output:

    project.project.openshift.io "openshift-cert-manager" deleted
    project.project.openshift.io "openshift-cert-manager-operator" deleted
    Copy to Clipboard Toggle word wrap

Additional information

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

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

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

Red Hat 소개

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

Theme

© 2026 Red Hat
맨 위로 이동