mirror of
https://github.com/outbackdingo/terraform-kamaji-node-pool.git
synced 2026-01-27 10:20:31 +00:00
vSphere Example
Example configuration for deploying Kamaji node pools on VMware vSphere using virtual machines.
Usage
-
Copy and customize:
cp example.tf main.tf # Edit main.tf with your configuration -
Set vSphere credentials:
export TF_VAR_vsphere_username="your-username" export TF_VAR_vsphere_password="your-password" -
Deploy:
terraform init terraform apply
Configuration
Update the following in main.tf:
tenant_cluster_name- Your Kamaji tenant cluster namekubeconfig_path- Path to your tenant cluster kubeconfigvsphere_server,vsphere_datacenter,vsphere_cluster- Your vSphere configurationvsphere_datastore,vsphere_network- Storage and network settings- VM template and network configuration
- Node pool specifications (memory, CPU, disk size, etc.)
Requirements
- Terraform >= 1.0
- VMware vSphere provider >= 2.0
- vCenter/ESXi access with appropriate permissions
- VM template with cloud-init support