OpenShift Data Science Self-managed のアンインストール

Red Hat OpenShift Data Science Self-managed 1.29

OpenShift CLI を使用して、Red Hat OpenShift Container Platform クラスターから Red Hat OpenShift Data Science Self-managed を削除する

概要

OpenShift CLI を使用して、OpenShift Container Platform クラスターから Red Hat OpenShift Data Science Self-managed をアンインストールします。

第1章 Red Hat ドキュメントへのフィードバック (英語のみ)

ドキュメントの改善点は、Red Hat にお知らせください。以下の手順に従って、ドキュメントページから直接フィードバックを送信できます。

  1. カスタマーポータルにログインしていることを確認します。
  2. このドキュメントが Multi-page HTML 形式で表示されていることを確認します。
  3. フィードバックを送信する文章を強調表示します。Add Feedback プロンプトが表示されます。
  4. Add Feedback をクリックします。
  5. Feedback テキストボックスにコメントを入力し、Submit をクリックします。
重要

一部の広告ブロッカーは、Red Hat ドキュメントに関するフィードバック機能を妨げる可能性があります。広告ブロッカーが有効になっている Web ブラウザーを使用していることが原因でフィードバックできない場合は、広告ブロッカーを無効にすることを検討してください。広告ブロッカーを無効にする方法の詳細は、Web ブラウザーのドキュメントを参照してください。

フィードバックが送信されると、Red Hat は自動的に問題の追跡を開始します。Submit をクリックした後に表示されるリンクを開き、問題の監視を開始するか、さらにコメントを追加して問題に関する詳細情報を送信してください。

フィードバックの提供にご協力いただきありがとうございました。

第2章 OpenShift Data Science Self-managed のアンインストール

Red Hat OpenShift CLI (oc) を使用して、OpenShift Container Platform クラスターから Red Hat OpenShift Data Science Self-managed を安全にアンインストールできます。Web コンソールを使用して Red Hat OpenShift Data Science Self-managed をアンインストールすると、Operator のみが削除されます。その結果、他の OpenShift Data Science コンポーネントはアンインストールされず、クラスターは一貫性のない状態のままになります。このシナリオを回避するには、Red Hat OpenShift CLI (oc) を使用して、OpenShift Container Platform クラスターから Red Hat OpenShift Data Science Self-managed をアンインストールします。

前提条件

  • cluster-admin 権限を持つアカウントを使用して、OpenShift クラスターにアクセスできる。
  • OpenShift CLI (oc) がインストールされている。
  • 永続ボリューム要求 (PVC) を含む永続ディスクまたはボリュームをバックアップしている。

手順

  1. CLI から OpenShift Container Platform にログインします。
  2. Red Hat OpenShift Data Science Operator を削除するための ConfigMap を作成します。

    oc create configmap delete-self-managed-odh -n redhat-ods-operator
  3. rhods-operator を削除するには、addon-managed-odh-delete ラベルを true に設定します。

    oc label configmap/delete-self-managed-odh api.openshift.com/addon-managed-odh-delete=true -n redhat-ods-operator
  4. すべてのオブジェクトが削除されたら、redhat-ods-operator namespace を削除します。

    1. チェックするプロジェクトの名前を設定します。

      PROJECT_NAME=redhat-ods-applications
    2. プロジェクトが存在しなくなるまで、引き続きチェックします。

      while oc get project $PROJECT_NAME &> /dev/null; do
        echo "$PROJECT_NAME still exists"
        sleep 1
      done
      echo "$PROJECT_NAME no longer exists"
    3. redhat-ods-operator namespace を削除します。

      oc delete namespace redhat-ods-operator

検証

  • rhods-operator が存在しないことを確認します。

    oc get subscriptions --all-namespaces | grep rhods-operator
  • 次のプロジェクトの namespace が存在しないことを確認します。

    • redhat-ods-applications
    • redhat-ods-monitoring
    • redhat-ods-operator

      oc get namespaces | grep redhat-ods*

第3章 関連情報

法律上の通知

Copyright © 2023 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.