Updating Cloudera license

CSA Operator requires a valid license to function. You must update expired licenses, otherwise, cluster resources will break down over time. Once the license expires, the cluster resources you deployed will continue to run, but reconciliation of resources will be blocked. For example: failed pods will not be restarted and deploying new Flink jobs will not be possible. In general, the control mechanisms in place that keep resources healthy will be blocked. This will result in deployed resources breaking down over time.

You register your initial license during installation by setting the clouderaLicense.fileContent Helm chart property. When this property is set, a Kubernetes secret is automatically generated that stores your license. The name of the secret is csa-op-license.

When the license expires, it must be updated. You can update the license by updating the secret that stores the license, with data from your new license, specifically the value of the data.license property in the secret.

Licenses can be updated at any time. If your license is already expired and you update your license, restrictions on functionality are lifted immediately after the license is updated.

Updating a license does not carry any risks and does not result in cluster downtime.

  1. Create a manifest in YAML format that defines the license secret.
    Add your new license to stringData.license. Ensure that you add the full contents of the license as it is in the license file you received from Cloudera.
    apiVersion: v1
    kind: Secret
    metadata:
      name: csa-op-license
    type: Opaque
    stringData:
      license: |
        [***YOUR LICENSE***]
  2. Replace your old secret with the new one.
    kubectl replace --namespace [***NAMESPACE***] -filename [***LICENSE SECRET YAML***]
  3. Verify that the license is updated.
    kubectl get secret csa-op-license \
      --namespace [***NAMESPACE***] \
      --output jsonpath=“{.data.license}” \
    | base64 --decode

    The output of this command should be identical with the contents of the license file you received from Cloudera.