Enable the license server
Follow the procedure in this topic to enable the license server component.
If you installed the license server component using Helm, you can use Helm to enable it as well.
Prerequisites
Ensure the license server is installed.
Enable
To enable the license server using Helm:
Update your Helm repository.
copy to clipboardhelm repo update
Retrieve all custom values you used during install. Generate a YAML file, replacing the
<docs-namespace>
with your namespace.copy to clipboardhelm get values --namespace <docs-namespace> <release-name> -o yaml > values.yaml
Delete the post-install hook job.
copy to clipboardkubectl delete job pxcentral-post-install-hook --namespace <namespace>
Remove the
pxcentral-license-server
deployment. Enter the followingkubectl delete deployment
command, replacing the<namespace>
parameter to match your environment.copy to clipboardkubectl delete deployment pxcentral-license-server -n <namespace>
Run the following
helm upgrade
command to enable the license server, using the-f
flag to pass the customvalues.yaml
file you generated above.copy to clipboardhelm upgrade <release-name> <repo-name>/px-central --namespace <namespace> -f values.yaml --set pxlicenseserver.enabled=true
Replacing the following parameters:
<release-name>
: the license server release to enable<repo-name>
: the Portworx Enterprise repository name<docs-namespace>
: the namespace matching your environment