第 10 章 Using Collector runtime configuration


重要

Using Collector runtime configuration is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

Collector runtime configuration enables you to modify some collector behaviors without restarting Collector. Collector runtime configuration is set using a ConfigMap object called collector-config. When you create or update the ConfigMap object, Collector refreshes the runtime configuration. When you delete the ConfigMap object, the settings revert to the default runtime configuration values.

Currently, only two settings are controlled by using Collector runtime configuration:

  • networking.externalIps.enabled controls if the visualizing external entities feature is enabled or disabled. The default is DISABLED. In release 4.6, this setting was networking.externalIps.enable and was a boolean. For more information, see Visualizing external entities.
  • networking.maxConnectionsPerMinute is the maximum number of open networking connections reported by Collector per container per minute. The default value is 2048.

The following example enables the visualizing external entities feature and sets maxConnectionsPerMinute to 2048.

apiVersion: v1
kind: ConfigMap
metadata:
  name: collector-config
  namespace: stackrox
data:
  runtime_config.yaml: |
    networking:
      externalIps:
        enabled: ENABLED
        direction: EGRESS
      maxConnectionsPerMinute: 2048

where:

data.runtime_config.yaml
Specifies whether RHACS mounts this file at /etc/stackrox/runtime_config.yaml.
data.runtime_config.yaml.networking.externalIps.direction
Specifies whether to collect ingress connections, egress connections, or both. If you do not specify a value, it defaults to BOTH.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

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

让开源更具包容性

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

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部