On-premises environments may require a license upgrade to renew, extend an expiration date, enable new features, add a service (Sysdig Secure), or change the number of licensed agents.

## For Kubernetes On-Prem Installations

As described in the Kubernetes installation instructions, the license file is simply entered as one of many configuration user settings in the ConfigMap (config.yaml) (manual install) or values.yaml (installer-based).

The relevant parameter is:

 # Required: Sysdig Cloud license
sysdigcloud.license: ""

To apply the new license, update the yaml file with the new license and then restart all Sysdig API, Worker, and Collector pods.

## For Replicated On-Prem Installations

1. Log in to the Replicated Management Console and choose Console Settings from the gear icon drop-down menu.

Review the current airgapped settings and note the pathname to the license file.

If you followed the Airgapped Installation instructions, your current .rli license file will be in the/var/tmp/sysdigdirectory as shown below.

(The name of your .rli file will vary.)

2. From the Linux shell, cd to the directory shown as the Update Path and replace your prior RLI license file with the new one, saving the prior one to a backup filename.

NOTE: the new license file may have a different name than the prior one, and may have a non-RLI extension if it was sent to you as an email attachment (to avoid being removed by firewalls).

The steps below are an example of renaming the license as necessary for the environment shown above (your filenames will vary).

/var/tmp/sysdig# mv my-replicated-license.rli prior-replicated-license-1.rli
/var/tmp/sysdig# mv newer-license.allow my-replicated-license.rli
3. Continue in the Replicated Management Console to sync the license and restart the Sysdig application, as described in the non-airgapped instructions below.