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:3.70.2注記デフォルトのイメージは、プロンプト
Enter default container images settings:に対する回答によって異なります。デフォルトのオプションのrhacsを入力した場合、デフォルトのイメージはregistry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:3.70.2になります。Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:3.70.2Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:3.70.2オフラインモードを有効にするには、
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 ビューでセンサーをリモートクラスターに追加する場合は、Collector Image Repository フィールドにコレクターのイメージ名を指定する必要があります。