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 イメージをプッシュした場所を指定します。Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter main image to use (if unset, the default will be used): <your_registry>/rhacs-main-rhel8:4.7.3
Enter main image to use (if unset, the default will be used): <your_registry>/rhacs-main-rhel8:4.7.3
注記デフォルトのイメージは、プロンプト
Enter default container images settings:
に対する回答によって異なります。デフォルトのオプションであるrhacs
を入力した場合、デフォルトのイメージはregistry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:4.7.3 になります。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:4.7.3
Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:4.7.3
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:4.7.3
Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:4.7.3
オフラインモードを有効にするには、
Enter whether to run StackRox in offline mode
プロンプトに答えるときにtrue
を入力します。Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter whether to run StackRox in offline mode, which avoids reaching out to the internet (default: "false"): 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 のイメージ名を指定する必要があります。