Skip to content

bennu/terraform-vsphere-yagan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yagan vSphere

This module aims to deploy infrastructure on vSphere.

Requirements

Name Version
terraform >= 0.13
vsphere >= 1.15.0

Providers

Name Version
vsphere >= 1.15.0

Inputs

Name Description Type Default Required
cluster Cluster name on vSphere any n/a yes
datacenter Datacenter name on vSphere any n/a yes
datastore Datastore name on vSphere any n/a yes
dns_servers Network DNS servers for vms on vSphere any n/a yes
gateway_address Network Gateway for vms on vSphere any n/a yes
network Network name on vSphere any n/a yes
resource_pool Resource Pool name on vSphere any n/a yes
search_domains Network DNS searchs for vms on vSphere any n/a yes
template Image template to clone vms on vSphere any n/a yes
vm_folder The path to the folder to put this vms in, relative to the datacenter that the resource pool is in. string n/a yes
controlplane Map about nodes to used for building kubernetes controllers map
{
"addresses": [],
"cpus": 4,
"disk_size": 60,
"memory": 4096,
"taints": []
}
no
etcd Map about nodes to used for building kubernetes etcd map
{
"addresses": [],
"cpus": 2,
"disk_size": 100,
"memory": 8192,
"taints": []
}
no
latency_sensitivity Controls the scheduling delay of the vms. Use a higher sensitivity for applications that require lower latency. Can be one of low, normal, medium, or high. string "normal" no
resource_naming An arbitrary name can be prepend to resources. string "" no
timezone Timezone for vms on vSphere string "UTC" no
vm_user Default username for vms on vSphere string "ubuntu" no
worker_groups Map about nodes to used for building kubernetes workers list
[
{
"addresses": [
"10.10.10.10/24"
],
"cpus": 2,
"disk_size": 50,
"labels": {
"node-workload": "small"
},
"memory": 4096,
"name": "small",
"taints": [
{
"effect": "NoSchedule",
"key": "node.cloudprovider.kubernetes.io/uninitialized",
"value": true
}
]
},
{
"addresses": [],
"cpus": 4,
"disk_size": 100,
"labels": {
"node-workload": "medium"
},
"memory": 8192,
"name": "medium",
"taints": []
},
{
"addresses": [],
"cpus": 4,
"disk_size": 100,
"labels": {
"node-workload": "large"
},
"memory": 16384,
"name": "large",
"taints": []
}
]
no

Outputs

Name Description
cluster_id n/a
nodes n/a
private_key n/a
public_key n/a