Deploy a cluster of independent Cyberwatch nodes with MicroK8s (deprecated)
This page details the installation procedure for deploying Cyberwatch on a cluster of multiples independently managed machines. The communication between the nodes is therefore not managed by the orchestrator.
Deploy a master node
Follow the Cyberwatch installation procedure in the chosen case (offline, behind a proxy or standard), but replace the configuration command:
sudo cyberwatch configure
by:
sudo cyberwatch configure --master
Deploy a satellite node
Follow the standard deployment procedure and stop before configuring Cyberwatch.
Execute the following command on master node:
sudo cyberwatch show-secrets
Write the output of the previous command to file
/etc/cyberwatch/secrets.yml
of the satellite node:sudo vim /etc/cyberwatch/secrets.yml sudo chmod 600 /etc/cyberwatch/secrets.yml
Execute the following command on master node:
sudo cyberwatch show-root-cert
Write the output of the previous command to file
/etc/cyberwatch/certs/cbw-root-ca-cert.pem
of the satellite node:sudo mkdir -p /etc/cyberwatch/certs sudo vim /etc/cyberwatch/certs/cbw-root-ca-cert.pem
Configure Cyberwatch:
sudo cyberwatch configure --satellite
Verify that the satellite node is able to reach the master node:
sudo cyberwatch logs sidekiq