1.4.4.2. OpenShift Container Platform 3 クラスターでの CAM ツールのアップグレード
最新の operator.yml
ファイルをダウンロードし、既存の Cluster Application Migration Operator CR オブジェクトを置き換えて、OpenShift Container Platform 3 クラスターで CAM ツールをアップグレードできます。
namespace を削除し、再作成する場合、CAM Web コンソールでクラスターのサービスアカウントトークンを更新する必要があります。
手順
Red Hat カスタマーポータルの認証情報を使用して
registry.redhat.io
にログインします。$ sudo podman login registry.redhat.io
最新の
operator.yml
ファイルをダウンロードします。$ sudo podman cp $(sudo podman create registry.redhat.io/rhcam-1-2/openshift-migration-rhel7-operator:v1.2):/operator.yml ./
- OpenShift Container Platform 3 クラスターにログインします。
更新された Cluster Application Migration Operator CR オブジェクトをデプロイします。
$ oc replace -f operator.yml
Restic Pod を取得します。
$ oc get pod -n openshift-migration | grep restic
Restic Pod を削除して、アップグレードが再起動時に適用されるようにします。
$ oc delete pod <restic_pod>