Upgrade On-Premises License
If you are upgrading manually or with the update-license
command, you should still update your values.yaml
with the new license to prevent redeploying the Sysdig application with an old license in the future. If you leave values.yaml
un-updated and run the installer next time, say for an upgrade, the application will be redeployed with the old license. Make sure that all the records you hold are updated with the latest license to prevent any license mismatch.
Version 6.x.x
Automatic Upgrade
Do one of the following options.
- Pass the license from a file:
installer update-license --license-file license.txt --namespace <YOUR-NAMESPACE>
- Pass the license as a string:
installer update-license --license <license-string> --namespace <YOUR-NAMESPACE>
Replace
<YOUR-NAMESPACE>
with the namespace where your Sysdig application is installed.- Pass the license from a file:
Automatic Upgrade Using installer deploy
Optionally, you can use the installer deploy
method explained in Automatic Upgrade in Version 5.x.x.
Manual Upgrade
Update the license in all the applicable secrets:
sysdigcloud-api-secret
sysdigcloud-collector-secrets
sysdigcloud-streamsnap-secret
sysdigcloud-anchore-secret
sysdigcloud-worker-secret
(Optional) If scanning v2 engine is enabled, update the license in the following ConfigMaps:
sysdigcloud-scanningv2-pkgmeta-api-config
sysdigcloud-scanningv2-vulns-api-config
Restart the applicable deployments:
sysdigcloud-api
sysdigcloud-collector
sysdigcloud-streamsnap
sysdigcloud-worker
sysdigcloud-scanningv2-pkgmeta-api
sysdigcloud-scanningv2-vulns-api
sysdigcloud-anchore-core
sysdigcloud-anchore-policy-engine
sysdigcloud-anchore-api
sysdigcloud-anchore-catalog
For example:
kubectl rollout restart deployment \ sysdigcloud-api \ sysdigcloud-collector \ sysdigcloud-worker \ sysdigcloud-streamsnap \ sysdigcloud-scanningv2-pkgmeta-api \ sysdigcloud-scanningv2-vulns-api \ sysdigcloud-anchore-core \ sysdigcloud-anchore-policy-engine \ sysdigcloud-anchore-api \ sysdigcloud-anchore-catalog \ -n sysdigcloud
Version 5.x.x
Automatic Upgrade
The license file is simply entered as a configuration parameter in the values.yaml
file. To apply the new license, update the values.yaml
file with the new license, and run the installer.
Open the
values.yaml
file.Specify your license as follows:
sysdig: license: <replace_with_your_license>
Run the following:
./installer deploy
Manual Upgrade
Update the ConfigMap for
sysdigcloud-config
.# Required: Sysdig Cloud license sysdigcloud.license: "<replace_with_your_license>"
Restart the Sysdig API, Worker, and Collector pods.
(Optional) Restart the Anchore pods.
For example:
kubectl rollout restart deployment \ sysdigcloud-api \ sysdigcloud-collector \ sysdigcloud-worker \ sysdigcloud-anchore-core \ sysdigcloud-anchore-policy-engine \ sysdigcloud-anchore-api \ sysdigcloud-anchore-catalog \ -n sysdigcloud
Learn More
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.