ibm-usage-metering

by joaquinito2051

Helm chartv1.0.9+20261015.180257.0App 1.0.9

A Helm chart for IBM Usage Metering installation. IBM products can integrate with Usage Metering Service (UMS) that is used to capture two types of product usage metrics: contractual metrics for compliance purposes, and adoption metrics for various scenarios related to usage analysis. UMS is intended to allow products capture business value metrics for the purpose of creating compliance evidence for the auditing purposes and visualizing metric usage in reporting tools.

About this chart

IBM Usage Metering Helm Chart

Overview

A Helm chart for IBM Usage Metering installation. IBM products can integrate with Usage Metering Service (UMS) to capture two types of product usage metrics: contractual metrics for compliance purposes, and adoption metrics for various scenarios related to usage analysis.

Installation

Fresh Installation

# Install cluster-scoped resources
helm install ibm-usage-metering-cluster-scoped <ibm-usage-metering-cluster-scoped-chart> 

# Install IBM Usage Metering
helm install ibm-usage-metering <ibm-usage-metering-chart>  \
  --namespace <target-namespace> \
  --create-namespace

Migration from OLM

For migration from OLM-based deployment, see helm-migration/README.md.

Configuration

Main Chart Parameters (ibm-usage-metering Helm chart)

ParameterDescriptionDefault
global.licenseAcceptAccept IBM license agreementtrue
global.imagePullPrefixImage registry prefixicr.io
global.imagePullSecretImage pull secret nameibm-entitlement-key
global.operatorNamespaceNamespace where the operator is installed""
global.instanceNamespaceNamespace where the IBM Usage Metering instance is created""
global.tetheredNamespacesComma-separated list of additional namespaces to watch (used when watchNamespace is not set)""
ibmUsageMetering.specCustom IBM Usage Metering resource specification{}
ibmUsageMetering.imageRegistryNamespaceOperatorOperator image registry namespacecpopen
ibmUsageMetering.imageRegistryNamespaceOperandOperand image registry namespacecpopen/cpfs
ibmUsageMetering.enableRoutesEnable OpenShift routestrue
ibmUsageMetering.createRBACCreate RBAC resources required by the charttrue
ibmUsageMetering.createRBACInWatchedNamespacesCreate RBAC resources in each watched namespace (requires executionMode: PROCESSOR_CAPACITY_ENABLED)true
ibmUsageMetering.executionModeExecution mode for contractual metrics collection. Set to PROCESSOR_CAPACITY_ENABLED to enable processor capacity meteringstandard
ibmUsageMetering.watchNamespaceComma-separated list of namespaces to watch. When empty, derived from global.instanceNamespace and global.tetheredNamespaces""
ibmUsageMetering.features.nodeCpuCappingEnabledEnable node CPU cappingtrue
ibmUsageMetering.features.kubeRBACAuthEnabledEnable kube RBAC authenticationfalse
ibmUsageMetering.operator.serviceAccount.nameOverride the operator pod service account name. Use with createRBAC: false for pre-created service accountsibm-usage-metering-operator
ibmUsageMetering.operator.podAnnotationsExtra annotations added to the operator pod. Existing IBM product annotations cannot be overridden{}
ibmUsageMetering.operator.podLabelsExtra labels added to the operator pod. Existing selector labels cannot be overridden{}
ibmUsageMetering.operator.nodeSelectorNode selector for the operator pod{}
ibmUsageMetering.operator.affinityAffinity rules for the operator pod{}
ibmUsageMetering.operand.serviceAccount.nameOverride the operand pod service account name. Use with createRBAC: false for pre-created service accountsibm-usage-metering-instance
ibmUsageMetering.operand.podAnnotationsExtra annotations added to the operand pod. Existing IBM product annotations cannot be overridden{}
ibmUsageMetering.operand.podLabelsExtra labels added to the operand pod. Existing selector labels cannot be overridden{}
ibmUsageMetering.operand.nodeSelectorNode selector for the operand pod{}
ibmUsageMetering.operand.affinityAffinity rules for the operand pod{}

Generated resources

ibm-licensing-external-config ConfigMap

During installation, the chart creates a ConfigMap named ibm-licensing-external-config in the instance namespace. It contains a single key:

KeyDescription
excludeNamespaceComma-separated list of namespaces watched by UMS (derived from global.instanceNamespace, ibmUsageMetering.watchNamespace, and global.tetheredNamespaces). IBM License Service reads this value to exclude UMS-managed namespaces from its own reporting.

This ConfigMap is managed solely by Helm and is not watched or reconciled by the UMS operator, so adopters can safely edit it after installation.

Uninstalling

helm uninstall ibm-usage-metering --namespace <target-namespace>
helm uninstall ibm-usage-metering-cluster-scoped

Documentation

Deploy ibm-usage-metering with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-usage-metering on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartibm-usage-metering is pinned at v1.0.9+20261015.180257.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply