Transitioning from Synopsysctl to helm chart deployments
As Black Duck evolves, we are transitioning from using synopsysctl to Helm charts for managing Kubernetes deployments. Helm charts provide a more standardized and flexible approach to deploying, upgrading, and maintaining Black Duck in Kubernetes environments.
In this guide, we recommend a fresh installation, as upgrading existing deployments may pose risks due to volume naming conventions and other configuration differences.
We strongly recommend deploying Black Duck in a test environment before proceeding with production. This allows you to validate the process and identify potential issues. The test environment can be a dedicated test instance or a temporary instance cloned from your production environment.
Internal or external database
If using an external database, you can configure the new installation to connect to the existing database, provided only one Black Duck instance communicates with it at any given time. Alternatively, you can create a new database and perform a backup and restore of your existing data.
If using an internal database, you must back up the current database and restore it to the new instance.
Transition process
-
Back up the database from the production environment.
-
Deploy a fresh installation of Black Duck using Helm in a new namespace.
Note: If using an external database, configure the new installation to point to the existing external database during deployment. -
Verify that the Black Duck instance is running correctly.
-
Restore the database using the production backup (for both internal or external databases).
-
Perform thorough testing to ensure functionality and data integrity.
-
If performing a dry-run, and it is successful, repeat the steps above after stopping the production instance and updating the DNS routing or load balancer to point to the new instance.