×

You might need to opt out of Telemetry for your cluster. For example, you might need to comply with privacy laws.

Prerequisites
  • Install the OpenShift Command-line Interface (CLI), commonly known as oc.

  • You must log in to the cluster with a user that has the cluster-admin role.

  • You need to have the cluster-monitoring-config ConfigMap object with the data/config.yaml section. See Creating cluster monitoring ConfigMap for details.

Consequences of disabling Telemetry

In OpenShift Container Platform 4.1, customers can opt out of the Telemetry service. However, Telemetry is embedded as a core component and serves as part of the overall function of the cluster. Therefore, opting out is strongly discouraged.

Some of the consequences of opting out of Telemetry are:

  • The Red Hat OpenShift Cluster Manager does not work as expected and does not show critical information about your clusters.

  • You cannot perform subscription management, including legally entitling your purchase from Red Hat through cloud.redhat.com. Because there is no disconnected subscription management, you cannot both opt out of sending data to Red Hat and entitle your purchase.

  • You will not gain quality assurance by reporting faults encountered during upgrades.

  • You cannot entitle your cluster.

Deployment and management of OpenShift Container Platform for disconnected environments is a critical goal and will be delivered in a future version of OpenShift Container Platform.

Disabling Telemetry

You can disable Telemetry.

Procedure
  1. Start editing the cluster-monitoring-config ConfigMap:

    $ oc -n openshift-monitoring edit configmap cluster-monitoring-config
  2. Add the two lines that are required to disable Telemetry to the data/config.yaml section, as shown:

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: cluster-monitoring-config
      namespace: openshift-monitoring
    data:
      config.yaml: |+
        telemeterClient:
          enabled: false