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

  1. 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

  1. Follow the standard deployment procedure and stop before configuring Cyberwatch.

  2. Execute the following command on master node:

    sudo cyberwatch show-secrets
    
  3. 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
    
  4. Execute the following command on master node:

    sudo cyberwatch show-root-cert
    
  5. 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
    
  6. Configure Cyberwatch:

    sudo cyberwatch configure --satellite
    
  7. Verify that the satellite node is able to reach the master node:

    sudo cyberwatch logs sidekiq
    

Back to top