5.2.2. 使用 roxctl CLI 启用离线模式
当您使用 roxctl CLI 安装 Red Hat Advanced Cluster Security for Kubernetes 时,您可以启用离线模式。
流程
如果您使用默认互联网连接的 registry 以外的 registry(
registry.redhat.io),在回答镜像以使用提示时提供推送 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.69.2注意默认镜像取决于您的提示
Enter 默认容器镜像设置的回答:如果您输入了rhacs,则默认镜像为registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:3.69.2。Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:3.69.2Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:3.69.2要启用离线模式,在回答
Enter 时输入:true,以在离线模式下运行 StackRoxEnter 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 镜像名称。