This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.4. Prerequisites
- Review the configuration options
Create a
MeteringConfigresource. You can begin the following process to generate a defaultMeteringConfigresource, then use the examples in the documentation to modify this default file for your specific installation. Review the following topics to create yourMeteringConfigresource:- For configuration options, review About configuring metering.
- At a minimum, you need to configure persistent storage and configure the Hive metastore.
There can only be one MeteringConfig resource in the openshift-metering namespace. Any other configuration is not supported.
Procedure
-
From the web console, ensure you are on the Operator Details page for the Metering Operator in the
openshift-meteringproject. You can navigate to this page by clicking OperatorsInstalled Operators, then selecting the Metering Operator. Under Provided APIs, click Create Instance on the Metering Configuration card. This opens a YAML editor with the default
MeteringConfigresource file where you can define your configuration.注意For example configuration files and all supported configuration options, review the configuring metering documentation.
-
Enter your
MeteringConfigresource into the YAML editor and click Create.
The MeteringConfig resource begins to create the necessary resources for your metering stack. You can now move on to verifying your installation.