Installing the program in a high availability configuration

KUMA is installed using the Ansible tool and the k0s.inventory.yml inventory file. The installation is performed using the test machine, where all of the KUMA components are installed on the target machines.

To install KUMA:

  1. On the test machine, open the folder containing the unpacked installer.

    cd kuma-ansible-installer-ha

  2. Depending on the type of license activation that you are planning to use, do one of the following:
    • If you want to activate the license with a file, place the file with the license key in the "<installer folder>/roles/kuma/files/" folder.

      The key file must be named license.key.

      sudo cp <key file>.key <installer directory>/roles/kuma/files/license.key

    • If want to activate with a license code, go to the next step of the instructions.
  3. From the folder with the unpacked installer, start the installation of components using the prepared distributed.inventory.yml inventory file:

    sudo ./install.sh k0s.inventory.yml

  4. Accept the terms of the End User License Agreement.

    If you do not accept the terms of the End User License Agreement, the program will not be installed.

    Depending on the type of license activation, running the installer has one of the following results:

    • If you want to activate the license using a file and have placed the file with the license key in the "<installer folder>/roles/kuma/files/" folder, running the installer with the "k0s.inventory.yml" inventory file installs KUMA Core, all services specified in the inventory file, and OOTB resources.
    • If you want to activate with a license code or provide a license file later, running the installer with the "k0s.inventory.yml" inventory file installs only KUMA Core.

      To install the services, specify the license code on the command line. Then run the postinstall.sh installer with the "k0s.inventory.yml" inventory file.

      sudo ./postinstall.sh k0s.inventory.yml

      This creates the specified services. You can select the resources that you want to import from the repository.

  5. After the installation is complete, log in to the KUMA web interface and enter the address of the KUMA web interface in the address bar of your browser, then enter your credentials on the login page.

    The address of the KUMA web interface is https://<FQDN of the nginx load balancer>:7220.

    Default login credentials:
    - login – admin
    - password – mustB3Ch@ng3d!

    After the first login, change the password of the admin account

All KUMA components are installed and you are logged in to the web interface.

We recommend backing up the inventory file that you used to install the program. You can use this inventory file to add components to the system or remove KUMA.

Page top