OpenShift Service Mesh 3.0 is a Technology Preview feature only
Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. This documentation is a work in progress and might not be complete or fully tested.4.3. リビジョンベースの更新ストラテジーによる istio-csr エージェントの更新
リビジョンベースの更新ストラテジーを使用して Istio リソースをデプロイした場合は、コントロールプレーンを更新するたびにすべてのリビジョンを渡す必要があります。次の順序で更新を実行する必要があります。
-
istio-csr
デプロイメントを新しいリビジョンで更新します。 -
Istio.spec.version
パラメーター/フィールドの値を更新します。
RevisionBased コントロールプレーンの更新例
この例では、controlplane
が v1.23.0
から 1.23.1
に更新されています。
次のコマンドを実行して、
istio-csr
デプロイメントを新しいリビジョンで更新します。$ helm upgrade cert-manager-istio-csr jetstack/cert-manager-istio-csr \ --wait \ --reuse-values \ --set "app.istio.revisions={<old_revision>,<new_revision>}"
ここでは、以下のようになります。
old_revision
-
古いリビジョンを
<istio-name>-v<major_version>-<minor_version>-<patch_version>
形式で指定します。たとえば、default-v1-23-0
です。 new_revision
-
<istio-name>-v<major_version>-<minor_version>-<patch_version>
形式で新しいリビジョンを指定します。たとえば、default-v1-23-1
です。
次の例のように、
Istio
オブジェクトのistio.spec.version
を更新します。istio.yaml
ファイルの例apiVersion: sailoperator.io/v1alpha1 kind: Istio metadata: name: default spec: version: <new_revision> 1
- 1
v1.23.1
のように、文字 v で始まる新しいリビジョンに更新します。
以下のコマンドを実行して、
istio-csr
デプロイメントから古いリビジョンを削除します。helm upgrade cert-manager-istio-csr jetstack/cert-manager-istio-csr \ --install \ --namespace cert-manager \ --wait \ --reuse-values \ --set "app.istio.revisions={default-v1-23-1}"