Grafana Cloud

Delete an existing usage groups configuration

This section describes how to delete an existing MimirUsageGroupsConfiguration resource named config for a customer stack.

Note

After deletion, no usage groups remain configured for the stack. If needed, they must be defined again from scratch.

Before you begin

Note

Ensure you have completed the prerequisites.

Step 1: Select the customer context

Use gcx CLI to switch to the desired context:

Bash
gcx config use-context <CONTEXT>

For more details on how to correctly configure contexts, refer to the gcx CLI Configuration.

Step 2: Delete the configuration

Delete the existing MimirUsageGroupsConfiguration resource:

Bash
  gcx resources delete mimirusagegroupsconfiguration/config

If the deletion is successful, the following message is displayed:

  ✔ 1 resources deleted, 0 errors

This indicates that the MimirUsageGroupsConfiguration resource named config has been deleted from the namespace associated with the customer’s stack. As a consequence, the usage group configuration is removed from the customer’s Mimir environment.