Opt out of Telemetry for MicroShift
By default, MicroShift enables the Telemetry service to collect health and usage data. You can disable this service if your node is operating in a disconnected environment or if you want to opt out of data collection.
-
You installed OpenShift CLI (
oc). -
You have root access to the node.
-
If you have not done so, make a copy of the provided
config.yaml.defaultfile in the/etc/microshift/directory, renaming itconfig.yaml. -
Keep the new MicroShift
config.yamlin the/etc/microshift/directory. Yourconfig.yamlfile is read every time the MicroShift service starts.After you create it, the
config.yamlfile takes precedence over built-in settings. -
Optional: Use a configuration snippet if you are using an existing MicroShift YAML. See "Using configuration snippets" in the Additional resources section for more information.
-
Set the
telemetry.statussection of the MicroShift YAML with theDisabledvalue.Example disabled Telemetry configurationapiServer: # ... telemetry: endpoint: https://infogw.api.openshift.com status: Disabled # ...