DEKUBE
  • πŸ“–Litepaper
  • 🧩Genesis Points Event
    • 🚏Tutorial for Team up
    • πŸͺŸTutorial for Windows
    • 🍎Tutorial for MacOS
    • 🐧Tutorial for Linux
  • πŸ”§Node Deployment Manual
    • Minimum Requirements and Deployment Conditions for the Cluster
    • Installation files
    • Description of the installation process
      • Ansible
      • Preparing the inventory-file
      • Wireguard VPN Settings
      • Creating a Kubernetes cluster and installing DEKUBE components
      • Registration and connection of the cluster to the DEKUBE.AI network
      • How to make sure the cluster is running?
      • Assigning a Label to worker nodes
      • (Optional) Adding new worker nodes
  • πŸ’ŽNodes Recruitment
  • πŸ“šFAQ
  • πŸ“ƒTerms of Use
Powered by GitBook
On this page
  • (Optional) Preparing a virtual environment for Ansible
  • Preparing the environment for Ansible
  • Installing roles and dependencies for Ansible
  1. Node Deployment Manual
  2. Description of the installation process

Ansible

(Optional) Preparing a virtual environment for Ansible

If you don’t want to install dependencies for Ansible on a working machine, then you can use Python’s ability to create a virtual environment and work in it:

VENVDIR=kubespray-venv
KUBESPRAYDIR=kubespray
python3 -m venv $VENVDIR
source $VENVDIR/bin/activate

All further commands should be executed from the dekube_cluster_deploy directory (unpacked archive).

Preparing the environment for Ansible

For the offline-setup: in the root of the unpacked repository execute:

cd pip3
pip3 install *.whl
cd ..

For the online-setup in the root of the repository execute:

pip3 install -U -r requirements.txt --no-cache-dir

Installing roles and dependencies for Ansible

For the offline-setup: in the root of the repository execute:

cd collections
ansible-galaxy install collections -r requirements.yml
cd ..

For the online-setup: in the root of the repository execute:

ansible-galaxy install collections -r requirements.yml

To watch a video tutorial that demonstrates the correct process for installing dependencies, you can view it: here.

PreviousDescription of the installation processNextPreparing the inventory-file

Last updated 1 year ago

πŸ”§