Applying license to a Redis Enterprise cluster in Kubernetes deployment

Last updated 23, May 2024

Question

How to apply a license to a Redis Enterprise Cluster (REC)?

Answer

To apply an obtained license to the REC Custom Resource, edit the REC object:

kubectl edit rec <REC_NAME>

and add the license string under spec

spec:
  nodes: 3
  license: |
    ----- LICENSE START -----
    eai14c/y6XNVykffDQSPUsHKcmpgOFUlmyTBDUEZEz+GLbXAgQFOmxcdbR9J
    ...
    PTUfn1gD8qmc52zBi+/7ztTz/Dwo6yejx2UUGslusw==
    ----- LICENSE END -----

Pay attention to the indentation/spaces in the file and make sure the pipeline symbol is included license: |