Jump To Close Expand all Collapse all Table of contents Metering 1. About Metering Expand section "1. About Metering" Collapse section "1. About Metering" 1.1. Metering overview Expand section "1.1. Metering overview" Collapse section "1.1. Metering overview" 1.1.1. Metering resources 2. Installing metering Expand section "2. Installing metering" Collapse section "2. Installing metering" 2.1. Prerequisites 2.2. Installing the Metering Operator Expand section "2.2. Installing the Metering Operator" Collapse section "2.2. Installing the Metering Operator" 2.2.1. Installing metering using the web console 2.2.2. Installing metering using the CLI 2.3. Installing the metering stack 2.4. Prerequisites 2.5. Verifying the metering installation 2.6. Additional resources 3. Upgrading metering Expand section "3. Upgrading metering" Collapse section "3. Upgrading metering" 3.1. Prerequisites 4. Configuring metering Expand section "4. Configuring metering" Collapse section "4. Configuring metering" 4.1. About configuring metering 4.2. Common configuration options Expand section "4.2. Common configuration options" Collapse section "4.2. Common configuration options" 4.2.1. Resource requests and limits 4.2.2. Node selectors 4.3. Configuring persistent storage Expand section "4.3. Configuring persistent storage" Collapse section "4.3. Configuring persistent storage" 4.3.1. Storing data in Amazon S3 4.3.2. Storing data in S3-compatible storage 4.3.3. Storing data in Microsoft Azure 4.3.4. Storing data in Google Cloud Storage 4.3.5. Storing data in shared volumes 4.4. Configuring the Hive metastore Expand section "4.4. Configuring the Hive metastore" Collapse section "4.4. Configuring the Hive metastore" 4.4.1. Configuring persistent volumes Expand section "4.4.1. Configuring persistent volumes" Collapse section "4.4.1. Configuring persistent volumes" 4.4.1.1. Configuring the storage class for the Hive metastore 4.4.1.2. Configuring the volume size for the Hive metastore 4.4.2. Use MySQL or PostgreSQL for the Hive metastore 4.5. Configuring the Reporting Operator Expand section "4.5. Configuring the Reporting Operator" Collapse section "4.5. Configuring the Reporting Operator" 4.5.1. Securing a Prometheus connection 4.5.2. Exposing the reporting API Expand section "4.5.2. Exposing the reporting API" Collapse section "4.5.2. Exposing the reporting API" 4.5.2.1. Using OpenShift Authentication Expand section "4.5.2.1. Using OpenShift Authentication" Collapse section "4.5.2.1. Using OpenShift Authentication" 4.5.2.1.1. Authenticate using a service account token 4.5.2.1.2. Authenticate using a username and password 4.5.2.2. Manually Configuring Authentication Expand section "4.5.2.2. Manually Configuring Authentication" Collapse section "4.5.2.2. Manually Configuring Authentication" 4.5.2.2.1. Token authentication 4.5.2.2.2. Basic authentication with a username and password 4.6. Configure AWS billing correlation 5. Reports Expand section "5. Reports" Collapse section "5. Reports" 5.1. About Reports Expand section "5.1. About Reports" Collapse section "5.1. About Reports" 5.1.1. Reports Expand section "5.1.1. Reports" Collapse section "5.1.1. Reports" 5.1.1.1. Example report with a schedule 5.1.1.2. Example report without a schedule (run-once) 5.1.1.3. query 5.1.1.4. schedule Expand section "5.1.1.4. schedule" Collapse section "5.1.1.4. schedule" 5.1.1.4.1. period 5.1.1.5. reportingStart 5.1.1.6. reportingEnd 5.1.1.7. runImmediately 5.1.1.8. inputs 5.1.1.9. Roll-up reports Expand section "5.1.1.9. Roll-up reports" Collapse section "5.1.1.9. Roll-up reports" 5.1.1.9.1. Report status 5.2. Storage locations Expand section "5.2. Storage locations" Collapse section "5.2. Storage locations" 5.2.1. Storage location examples 5.2.2. Default storage location 6. Using Metering Expand section "6. Using Metering" Collapse section "6. Using Metering" 6.1. Prerequisites 6.2. Writing Reports 6.3. Viewing report results 7. Examples of using metering Expand section "7. Examples of using metering" Collapse section "7. Examples of using metering" 7.1. Prerequisites 7.2. Measure cluster capacity hourly and daily 7.3. Measure cluster usage with a one-time report 7.4. Measure cluster utilization using cron expressions 8. Troubleshooting and debugging metering Expand section "8. Troubleshooting and debugging metering" Collapse section "8. Troubleshooting and debugging metering" 8.1. Troubleshooting metering Expand section "8.1. Troubleshooting metering" Collapse section "8.1. Troubleshooting metering" 8.1.1. Not enough compute resources 8.1.2. StorageClass resource not configured 8.1.3. Secret not configured correctly 8.2. Debugging metering Expand section "8.2. Debugging metering" Collapse section "8.2. Debugging metering" 8.2.1. Get reporting operator logs 8.2.2. Query Presto using presto-cli 8.2.3. Query Hive using beeline 8.2.4. Port-forward to the Hive web UI 8.2.5. Port-forward to HDFS 8.2.6. Metering Ansible Operator Expand section "8.2.6. Metering Ansible Operator" Collapse section "8.2.6. Metering Ansible Operator" 8.2.6.1. Accessing Ansible logs 8.2.6.2. Checking the MeteringConfig Status 8.2.6.3. Checking MeteringConfig Events 9. Uninstalling metering Expand section "9. Uninstalling metering" Collapse section "9. Uninstalling metering" 9.1. Removing the Metering Operator from your cluster 9.2. Uninstalling a metering namespace 9.3. Uninstalling metering custom resource definitions 法律通告 Settings Close Language: 日本語 简体中文 English Language: 日本語 简体中文 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 日本語 简体中文 English Language: 日本語 简体中文 English Format: Multi-page Single-page Format: Multi-page Single-page 2.6. Additional resources For more information on configuration steps and available storage platforms, see Configuring persistent storage. For the steps to configure Hive, see Configuring the Hive metastore. Previous Next