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