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:
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:
gcx resources delete mimirusagegroupsconfiguration/configIf the deletion is successful, the following message is displayed:
✔ 1 resources deleted, 0 errorsThis 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.
Was this page helpful?
Related resources from Grafana Labs


