5.2. インストール中のオフラインモードの有効化
Red Hat Advanced Cluster Security for Kubernetes のインストール中にオフラインモードを有効にできます。
5.2.1. Helm 設定を使用したオフラインモードの有効化
Helm チャートを使用して、Kubernetes 用の Red Hat Advanced Cluster Security をインストールするときに、インストール中にオフラインモードを有効にできます。
手順
-
central-services Helm チャートをインストールするときは、
values-public.yaml
設定ファイルでenv.offlineMode
環境変数の値をtrue
に設定します。 -
secured-cluster-services Helm チャートをインストールするときは、
values-public.yaml
設定ファイルでconfig.offlineMode
パラメーターの値をtrue
に設定します。
5.2.2. roxctl CLI を使用したオフラインモードの有効化
roxctl
CLI を使用して、Red Hat Advanced Cluster Security for Kubernetes をインストールするときにオフラインモードを有効にできます。
手順
インターネットに接続されたデフォルトのレジストリー (
registry.redhat.io
) 以外のレジストリーを使用している場合は、image to use
プロンプトに応答するときに、Red Hat Advanced Cluster Security for Kubernetes イメージをプッシュした場所を指定します。Enter main image to use (if unset, the default will be used): <your_registry>/rhacs-main-rhel8:4.3.8
注記デフォルトのイメージは、プロンプト
Enter default container images settings:
に対する回答によって異なります。デフォルトのオプションである rhacs を入力した場合、デフォルトのイメージはregistry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:4.4.3
になります。Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:4.3.8
Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:4.3.8
オフラインモードを有効にするには、
Enter whether to run StackRox in offline mode
プロンプトに答えるときにtrue
を入力します。Enter whether to run StackRox in offline mode, which avoids reaching out to the internet (default: "false"): true
-
後で、RHACS ポータルの Platform Configuration
Clusters ビューで Sensor をリモートクラスターに追加する場合は、Collector Image Repository フィールドに Collector のイメージ名を指定する必要があります。