Go to file
2024-12-13 14:42:06 +03:00
ansible remove old comments 2024-12-13 14:42:06 +03:00
.gitignore chore: add .env to the .gitignore 2024-04-26 11:36:01 +03:00
001-insecure-registries.conf add insecure-registries config 2024-10-22 03:15:52 +03:00
functions.py apply formatting 2024-11-01 10:08:16 +03:00
main.py apply formatting 2024-11-01 10:08:16 +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