ibm-licensing

by joaquinito2051

Helm chartv4.2.26+20261015.180257.0

A Helm chart for License Service. Contains the namespace-scope resources. You can use License Service to retrieve license usage data from your cluster and create a licensing snapshot. License Service collects and measures the license usage of your IBM® products at the cluster level. You can retrieve this data upon request for monitoring and compliance. You can also retrieve an audit snapshot of the data that is audit evidence. License Service is required for monitoring and measuring license usage of the IBM Cloud Paks® and IBM® stand-alone containerized software in accord with the pricing rule for containerized environments. Manual license measurements are not allowed.

About this chart

Helm-based deployment of IBM Licensing Service (ILS) namespace-scoped resources

Important:

IBM Licensing Operator overview

IBM Licensing Operator installs License Service. You can use License Service to collect information about license usage of IBM Containerized products and IBM Cloud Paks per cluster. You can retrieve license usage data through a dedicated API call and generate an audit snapshot on demand.

Supported platforms

Red Hat OpenShift Container Platform 4.10 or newer installed on Linux x86_64, Linux on Power (ppc64le), Linux on IBM Z and LinuxONE.

Prerequisites

The cluster-scoped resources (CRDs, ClusterRoles, ClusterRoleBindings) must be installed first via the companion ibm-licensing-cluster-scoped chart. For more information, see the applicable IBM Cloud Pak documentation or ibm-licensing-operator for stand-alone IBM Containerized Software.


Chart contents

This chart installs namespace-scoped resources for the IBM Licensing Operator:

  • Deployment – the operator pod
  • ServiceAccounts – ibm-licensing-operator, ibm-license-service, ibm-license-service-restricted, ibm-licensing-default-reader
  • Roles / RoleBindings – namespace-scoped RBAC for the operator and operand service accounts
  • Roles / RoleBindings in watched namespaces – per-namespace watch RBAC when nssEnabled is true
  • IBMLicensing CR – the operand configuration custom resource

How to use

# Step 1 – cluster-scoped resources (install once per cluster)
helm install ibm-licensing-cluster-scoped ./helm-cluster-scoped --namespace ibm-licensing --create-namespace

# Step 2 – namespace-scoped resources (install per tenant namespace)
helm install ibm-licensing ./helm --namespace ibm-licensing

Configuration

ParameterDescriptionDefault
global.imagePullPrefixImage registry prefixicr.io
global.imagePullSecretImage pull secret nameibm-entitlement-key
global.licenseAcceptAccept IBM license agreementtrue
ibmLicensing.namespaceNamespace where the operator and operand are installedibm-licensing
ibmLicensing.watchNamespaceNamespace the operator watches for IBMLicensing CRsibm-licensing
ibmLicensing.excludeNamespaceComma-separated list of namespaces to exclude from license collection""
ibmLicensing.imageRegistryNamespaceOperatorOperator image registry namespacecpopen
ibmLicensing.imageRegistryNamespaceOperandOperand image registry namespacecpopen/cpfs
ibmLicensing.createRBACCreate RBAC resources required by the charttrue
ibmLicensing.createRBACInWatchedNamespacesCreate RBAC resources in each watched namespacetrue
ibmLicensing.specCustom IBMLicensing resource specification (merged into the CR){}
ibmLicensing.spec.features.nssEnabledEnable namespace-scope supportfalse
ibmLicensing.spec.features.nodeCpuCappingEnabledEnable node CPU cappingtrue
ibmLicensing.spec.features.kubeRBACAuthEnabledEnable kube RBAC authenticationtrue
ibmLicensing.spec.features.operandRequestsEnabledEnable operand requeststrue
ibmLicensing.spec.features.customResourcesEnabledEnable custom resourcestrue
ibmLicensing.operator.podAnnotationsExtra annotations added to the operator pod. IBM product annotations cannot be overridden{}
ibmLicensing.operator.podLabelsExtra labels added to the operator pod. IBM selector labels cannot be overridden{}
ibmLicensing.operator.affinityAdditional affinity rules merged with the IBM default kubernetes.io/arch node affinity{}
ibmLicensing.operator.nodeSelectorNode selector for the operator pod{}
ibmLicensing.operator.serviceAccount.nameOverride the operator service account name. Use with createRBAC: false for pre-created service accounts""
ibmLicensing.operator.annotations(Legacy) Extra annotations for the operator pod — use operator.podAnnotations instead{}
ibmLicensing.operator.labels(Legacy) Extra labels for the operator pod — use operator.podLabels instead{}
ibmLicensing.operand.serviceAccount.nameOverride the active operand service account name (ibm-license-service or ibm-license-service-restricted depending on nssEnabled)""
ibmLicensing.operand.podAnnotationsExtra annotations added to the operand pod. IBM product annotations cannot be overridden{}
ibmLicensing.operand.podLabelsExtra labels added to the operand pod. IBM selector labels cannot be overridden{}
ibmLicensing.operand.affinityAdditional affinity rules merged with the IBM default kubernetes.io/arch node affinity for the operand pod{}
ibmLicensing.operand.nodeSelectorNode selector for the operand pod{}

Deploy ibm-licensing with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-licensing 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-licensing is pinned at v4.2.26+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