2.4. Prerequisites
- Review the configuration options
Create a
MeteringConfig
resource. You can begin the following process to generate a defaultMeteringConfig
resource, then use the examples in the documentation to modify this default file for your specific installation. Review the following topics to create yourMeteringConfig
resource:- 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-metering
project. 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
MeteringConfig
resource file where you can define your configuration.注意For example configuration files and all supported configuration options, review the configuring metering documentation.
-
Enter your
MeteringConfig
resource 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.