The following procedure explains in a generic way how to migrate from a Cyberwatch installation using Docker Swarm to an installation using MicroK8s.
Connect to the Cyberwatch machine with SSH and a root account.
If the database is managed internally by Cyberwatch, back up the database:
sudo cyberwatch backup save
sudo cyberwatch stop
Install MicroK8s according to your context:
/etc/cyberwatch/config.env, replace the value of the key
sudo cyberwatch configure
The configuration script should detect the existence of a
secrets.envfile. It will then offer to import the content of the file to a new file named
secrets.yml. It is important in the case of a migration from Docker Swarm to accept.
If the database is managed internally by Cyberwatch, restore the backup:
sudo cyberwatch backup restore