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
PreviousDescription of the installation processNextPreparing the inventory-file

Last updated 11 months ago

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

๐Ÿ”ง
here