Skip to content

bvankampen/python-rancher-harvester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackweek 2025 Project

Usage

  • install python requirements in requirements.txt
  • export PRH_API_TOKEN=<rancher-api-token> or define api_token in blueprint or config
  • Run python3 provision.py <blueprint>

Todo

  • Logging and error handling
  • Configuring of (pass through) NVME disks
  • Automatic scheduling on VM based on free PCIE resources
  • Deleting and cleanup of VMs, clusters and resources
  • Ansible Module

Description

Create Python modules for provisioning VMs with options currently not supported by other provisioning tools (like PCIe Devices and CPU Type), these modules can also be used to create an Ansible module.

Goals

  • Create Python modules to provision VMs in Harvester with support for PCIe Devices and Cloudinit
  • Create Python modules to provision RKE2 Cluster
  • Look into the possibility to create Ansible Modules.

Resources

About

Python modules for Harvester VM provisioning and Rancher RKE2 provisioning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors