ibm-licensing-migration

by joaquinito2051

Helm chartv0.0.4226App 0.0.4226

A Helm chart for License Service migration from OLM-based deployment to Helm-based deployment 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

OLM-based deployment to a Helm-based deployment migration chart

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

Prerequisites depend on the integration of the License Service with an IBM Cloud Pak or IBM Containerized Software. For more information, see the applicable IBM Cloud Pak documentation or ibm-licensing-operator for stand-alone IBM Containerized Software.


To facilitate the migration from an OLM-based deployment to a Helm-based deployment, a dedicated migration Helm chart is introduced. It runs job that removes following resources:

  • Subscriptions,
  • CSVs,
  • OperatorGroups
  • Roles, RoleBindings, ServiceAccounts

How to use

helm install ibm-licensing ./helm-migration --namespace ibm-licensing --take-ownership # Run migration job, that will remove OLM resources
helm upgrade --install ibm-licensing-cluster-scoped ./deploy/argo-cd/components/license-service/helm-cluster-scoped --namespace ibm-licensing --take-ownership # Install cluster-scoped resources (CRDs, ClusterRoles)
helm upgrade --install ibm-licensing ./deploy/argo-cd/components/license-service/helm --namespace ibm-licensing --take-ownership # Install namespace-scoped resources (Deployment, RBAC, CR)

Deploy ibm-licensing-migration 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-migration 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-migration is pinned at v0.0.4226 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