Go to file
2024-09-05 21:13:37 +03:00
ansible tmp 2024-09-05 21:13:37 +03:00
.gitignore chore: add .env to the .gitignore 2024-04-26 11:36:01 +03:00
functions.py some changes 2024-05-26 08:37:52 +03:00
main.py tmp 2024-09-05 21:13:37 +03:00
README.md add dependencies to README.md 2024-08-08 22:39:42 +03:00
run.sh tmp 2024-09-05 21:13:37 +03:00

Automated kubernetes cluster deployment on Proxmox VE

Dependencies

  • python3-module-proxmoxer
  • python3-module-dotenv
  • ansible

Quick start

Create a file .env, which contains environment variables.

Example of a .env file:

# Proxmox VE host
PROXMOX_HOST='pve.office.basealt.ru'
# Proxmox VE user
PROXMOX_USER='stepchenkoas'
# Proxmox VE full username (e.g. username@BaseALT)
PROXMOX_USER_FULL="${PROXMOX_USER}@BaseALT"
# Proxmox VE user password
PROXMOX_PASSWORD=super-secret-password
# Whether VMs should be deleted at the start
DELETE_VMS=1

Then run the run.sh script.

./run.sh

TODO:

  • Add automatic deletion of created VMs after the tests are completed