5.2. 在安装过程中启用离线模式


您可在安装 Red Hat Advanced Cluster Security for Kubernetes 过程中启用离线模式。

5.2.1. 使用 Helm 配置启用离线模式

当使用 Helm chart 安装 Red Hat Advanced Cluster Security for Kubernetes 时,您可以在安装过程中启用离线模式。

流程

  1. 安装 central-services Helm Chart 时,在 values-public.yaml 配置文件中将 env.offlineMode 环境变量值设置为 true
  2. 安装 secured-cluster-services Helm Chart 时,在 values-public.yaml 配置文件中将 config.offlineMode 参数的值设置为 true

5.2.2. 使用 roxctl CLI 启用离线模式

在使用 roxctl CLI 安装 Red Hat Advanced Cluster Security for Kubernetes 时,您可以启用离线模式。

流程

  1. 如果您使用除默认互联网连接的 registry (registry.redhat.io) 以外的 registry,在回答 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.74.9
    注意

    默认镜像取决于您对 Enter default container images settings: 提示的回答:如果您输入了 rhacs,则默认选项将是 registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:3.74.9

    Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:3.74.9
    Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:3.74.9
  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
  3. 之后,当您在 RHACS 门户的 Platform Configuration Clusters 视图中将 Sensor 添加到远程集群中时,您必须在 Collector Image Repository 字段中指定 Collector 镜像名称。
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.