4.3. OLM を使用した 3scale operator のアップグレード
Operator ベースのデプロイメントで、1 つの namespace から全 namespace のクラスター全体のインストールに、3scale Operator をアップグレードするには、その namespace から 3scale Operator を削除してから、クラスター上にその Operator を再インストールする必要があります。
クラスター管理者は Web コンソールを使用して、選択した namespace からインストールされた Operator を削除できます。Operator をアンインストールしても、既存の 3scale インスタンスはアンインストールされません。
3scale Operator を namespace からアンインストールしたら、OLM を使用してクラスター全体のモードで Operator をインストールできます。
前提条件
- namespace の削除パーミッションがある 3scale 管理者権限または OpenShift ロール。
手順
OpenShift Container Platform コンソールにおいて、管理者権限を持つアカウントを使用してログインします。
注記メニュー構造は、使用している OpenShift のバージョンによって異なります。
- Operators > OperatorHub の順にクリックします。インストール済みの Operator ページが表示されます。
- 3scale を Filter by name に入力して Operator を見つけ、クリックします。
- Operator Details ページで、Actions ドロップダウンメニューから Uninstall Operator を選択して、特定の namespace から削除します。
Uninstall Operator? ダイアログボックスが表示され、以下が通知されます。
Removing the operator will not remove any of its custom resource definitions or managed resources. If your operator has deployed applications on the cluster or configured off-cluster resources, these will continue to run and need to be cleaned up manually. This action removes the operator as well as the Operator deployments and pods, if any. Any operands and resources managed by the operator, including CRDs and CRs, are not removed. The web console enables dashboards and navigation items for some operators. To remove these after uninstalling the operator, you might need to manually delete the operator CRDs.
Removing the operator will not remove any of its custom resource definitions or managed resources. If your operator has deployed applications on the cluster or configured off-cluster resources, these will continue to run and need to be cleaned up manually. This action removes the operator as well as the Operator deployments and pods, if any. Any operands and resources managed by the operator, including CRDs and CRs, are not removed. The web console enables dashboards and navigation items for some operators. To remove these after uninstalling the operator, you might need to manually delete the operator CRDs.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Uninstall を選択します。この Operator は実行を停止し、更新を受信しなくなります。
- OpenShift Container Platform コンソールで、Operators > OperatorHub をクリックします。
- Filter by keyword ボックスに 3scale operator と入力し、3scale operator を検索します。
- 3scale operator をクリックします。operator に関する情報が表示されます。
- Install をクリックします。Install Operator ページが開きます。
- Install Operator ページで、任意のチャネルを選択して、Update channel セクションを更新します。
- Installation mode セクションで、All namespaces on the cluster(default) を選択します。Operator はクラスターのすべての namespace で利用可能になります。
- Subscribe をクリックします。3scale operator の詳細ページが表示され、Subscription Overview を確認できます。
- サブスクリプションの Upgrade Status が Up to date と表示されていることを確認します。
- 3scale operator の ClusterServiceVersion (CSV) が表示されることを確認します。
関連情報
- 3scale operator のインストールに関する詳細は、3scale API Management のインストールおよび設定 を参照してください。