Updating the Digital.ai Deploy License—Kubernetes Setup
You must use the custom resource definition file (CR file) in case you want to change the Digital.ai Deploy's license on sites installed using the Operator-based installer.
Note: The Renew/Install License function (UI) of the Deploy application (default setup) is not working.
Suppose you have installed Deploy in the default digitalai
namespace. Use the right namespace in case you have installed Deploy in a custom namespace.
To renew/updated the license on an existing Operator-based Deploy instance:
- Convert the new license into base64 format.
cat <License.lic> | base64 -w 0
- Delete the old license from masters and workers:
- master
kubectl exec -it sts/dai-xld-digitalai-deploy-master -c deploy-master -n digitalai -- rm /opt/xebialabs/xl-deploy-server/conf/deployit-license.lic
- worker
kubectl exec -it sts/dai-xld-digitalai-deploy-worker -c deploy-worker -n digitalai -- rm /opt/xebialabs/deploy-task-engine/conf/deployit-license.lic
- Patch the license with the previous step's output.
kubectl patch digitalaideploys.xld.digital.ai dai-xld -n digitalai \
--type=merge \
--patch '{"spec":{"license":"LS0tIExpY2Vuc2UgLS0tCkxpY2Vuc2U..."}}'
- Restart Deploy pods:
kubectl delete sts dai-xld-digitalai-deploy-master -n digitalai
kubectl delete sts dai-xld-digitalai-deploy-worker -n digitalai
- Wait for the Deploy pods to restart.