4.5. Using the Insights Operator


The Insights Operator periodically gathers configuration and component failure status and, by default, reports that data every two hours to Red Hat. This information enables Red Hat to assess configuration and deeper failure data than is reported through Telemetry. Users of OpenShift Container Platform can display the report in the Advisor service on Red Hat Hybrid Cloud Console.

4.5.1. Configuring Insights Operator

Insights Operator configuration is a combination of the default Operator configuration and the configuration that is stored in either the insights-config ConfigMap object in the openshift-insights namespace, OR in the support secret in the openshift-config namespace.

When a ConfigMap object or support secret exists, the contained attribute values override the default Operator configuration values. If both a ConfigMap object and a support secret exist, the Operator reads the ConfigMap object.

The ConfigMap object does not exist by default, so an OpenShift Container Platform cluster administrator must create it.

4.5.1.1. ConfigMap object configuration structure

This example of an insights-config ConfigMap object (config.yaml configuration) shows configuration options by using standard YAML formatting.

apiVersion: v1
kind: ConfigMap
metadata:
  name: insights-config
  namespace: openshift-insights
data:
  config.yaml: |
    dataReporting:
      uploadEndpoint: https://console.redhat.com/api/ingress/v1/upload
      storagePath: /var/lib/insights-operator
      downloadEndpoint: https://console.redhat.com/api/insights-results-aggregator/v2/cluster/%s/reports
      conditionalGathererEndpoint: https://console.redhat.com/api/gathering/gathering_rules
    sca:
        disabled: false
        endpoint: https://api.openshift.com/api/accounts_mgmt/v1/entitlement_certificates
        interval: 8h0m0s
    alerting:
        disabled: false
    proxy:
        httpProxy: http://example.com
        httpsProxy: https://example.com
        noProxy: test.org

Configurable attributes and default values

The following table describes the available configuration attributes:

注意

The insights-config ConfigMap object follows standard YAML formatting, wherein child values are below the parent attribute and indented two spaces. For the Obfuscation attribute, enter values as bulleted children of the parent attribute.

Expand
表 4.1. Insights Operator configurable attributes
Attribute nameDescriptionValue typeDefault value
alerting:
    disabled: false

Disables Insights Operator alerts to the cluster Prometheus instance.

Boolean

false

clusterTransfer:
    endpoint: <url>

The endpoint for checking and downloading cluster transfer data.

URL

https://api.openshift.com/api/accounts_mgmt/v1/cluster_transfers/

clusterTransfer:
    interval: 1h0m0s

Sets the frequency for checking available cluster transfers.

Time interval

24h

dataReporting:
    interval: 30m0s

Sets the data gathering and upload frequency.

Time interval

2h

dataReporting:
    uploadEndpoint: <url>

Sets the upload endpoint.

URL

https://console.redhat.com/api/ingress/v1/upload

dataReporting:
    storagePath: <path>

Configures the path where archived data gets stored.

File path

/var/lib/insights-operator

dataReporting:
    downloadEndpoint: <url>

Specifies the endpoint for downloading the latest Red Hat Lightspeed analysis.

URL

https://console.redhat.com/api/ingress/v1/download

dataReporting:
    conditionalGathererEndpoint: <url>

Sets the endpoint for providing conditional gathering rule definitions.

URL

https://console.redhat.com/api/gathering/gathering_rules

dataReporting:
    obfuscation:
    - networking

Enables the global obfuscation of IP addresses and the cluster domain name.

String

Not applicable

dataReporting:
    obfuscation:
    - workload_names

Enables the obfuscation of Data Validation Operator data. The cluster resource ID is only visible in the archive file and not the resource name.

String

Not applicable

proxy:
    httpProxy: http://example.com
    httpsProxy: http://example.com
    noProxy: test.org

Set custom proxy for Insights Operator.

URL

No default

sca:
    interval: 8h0m0s

Specifies the frequency of the simple content access (SCA) entitlements download.

Time interval

2h

sca:
    endpoint: <url>

Specifies the endpoint for downloading the simple content access (SCA) entitlements.

URL

https://api.openshift.com/api/accounts_mgmt/v1/entitlement_certificates

sca:
    disabled: false

Disables the simple content access entitlements download.

Boolean

false

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

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

让开源更具包容性

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

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部