A terraform module for preparing a basic vsphere compute cluster for Launchpad installation.
[Launchpad]{https://docs.mirantis.com/mke/3.7/launchpad.html} is a Mirantis tool for installation of Mirantis Containers products. The tool can work with any properly prepared accessible cluster, This module can create a basic simple cluster, and provide the appropriate Launchpad configuration for use with Launchpad.
- You need VMware vSphere credentials for API operations
- Terraform installed
The Terraform vsphere
provider uses parametrization for access configuration. This module collects
input arguments for configuring the provider. This is described further below.
See here for more information.
Use the module to create a basic compute cluster with HCL as follows:
module "provision" {
source = "terraform-mirantis-modules/launchpad-vsphere/mirantis"
cluster_name = "my-cluster"
template_vm_linux = "ubuntu_18" // must exist in your datacenter
quantity_managers = 1
quantity_workers = 3
}
Then use the mke_cluster
output for the launchpad yaml:
terraform output -raw mke_cluster > launchpad.yaml
launchpad apply
You can also control a few more details that configure vsphere interaction:
vsphere_server
URL of the servervsphere_user
connection uservsphere_password
password for the userdatacenter
vsphere data centerresource_pool
vsphere resource poolfolder
resource folderdatastore_cluster
datastore
This module does not support windows workers at this time.