第3章 Operator のインストール
Red Hat Service Interconnect Operator は、OpenShift でサイトを作成および管理します。
注記
Operator をインストールするには、クラスターの管理者レベルの権限が必要です。
3.1. CLI を使用したすべての namespace に対する Operator のインストール リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
このセクションの手順では、kubectl コマンドを使用して、特定のクラスターに最新バージョンの Red Hat Service Interconnect Operator をインストールおよびデプロイする方法を示します。すべての namespace に Operator をインストールすると、任意の namespace にサイトを作成できます。
前提条件
-
cluster-adminアカウントを使用したクラスターへアクセスできる。 - Operator Lifecycle Manager がインストールされている。
手順
- クラスター管理者としてログインしている。
- Red Hat Container Registry Authentication で説明されている手順を実行します。
以下の内容で、
subscription-all.yamlという名前のファイルを作成します。apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: skupper-operator namespace: openshift-operators spec: channel: stable-2 installPlanApproval: Automatic name: skupper-operator source: redhat-operators sourceNamespace: openshift-marketplace startingCSV: skupper-operator.v2.0.0-rh-11サブスクリプション YAML を適用します。
$ kubectl apply -f subscription-all.yaml
関連情報
- YAML を使用したサイトの作成の手順は、Skupper の使用 を参照してください。