ansible | ||
.gitignore | ||
functions.py | ||
main.py | ||
README.md | ||
run.sh |
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