Skip to content

Terraform template for installing OpenShift on vSphere using on-premise hardware

Notifications You must be signed in to change notification settings

jedrecord/ocp-vsphere-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform version vSphere version OpenShift version

ocp-vsphere-template

Terraform template for installing OpenShift on vSphere using on-premise hardware

This template requires Terraform version 0.12 and higher This template uses the Terraform vSphere provider v1.17

Variables

Variable Description
bootstrap_ip IP Address for the bootstrap host
control_plane_ips List of IP Address for the control plane nodes
compute_ips List of IP Addresses for the compute nodes
machine_cidr Subnet mask prefix for the cluster nodes
gateway_ip IP Address of the internal host network
dns1_ip IP address of the internal name service provider
dns2_ip IP address of the internal name service provider
cluster_id Cluster label (used as subdomain ie: <cluster_id>.domain.com)
cluster_domain FQDN of the cluster (<cluster_id>.<base_domin>)
base_domain Primary cluster domain for which you control DNS records
vsphere_server IP address or FQDN of vCenter service
vsphere_user vSphere username (account with admin privilages)
vsphere_password vSphere passsword
vsphere_cluster Name of the target cluster within vSphere
vsphere_datacenter Name of the target datacenter within vSphere
vsphere_datastore Name of a valid datastore backed by capable SSDs (no HDD)
vm_template Name of the OVA template to use for the cluster nodes
vm_network Name of the network portgroub in vSphere for the cluster nodes
control_plane_count Number of clontrol plane nodes to create (min 3, should be odd number)
control_plane_memory Amount of RAM to allocate for control plane nodes (min 16 GiB)
control_plane_num_cpus Number of CPU threads to allocate for control plane nodes (min 4)
control_plane_disk_size Local disk space to allocate for conrol plane nodes (min 60 GB)
compute_count Number of compute nodes to create (min 2)
compute_memory Amount of RAM to allocate for compute nodes
compute_num_cpus Number of CPU threads to allocate for control plane nodes
compute_disk_size Local disk space to allocate for conrol plane nodes (min 60 GB)
bootstrap_memory Amount of RAM to allocate for bootstrap node (default: 16 GiB)
bootstrap_num_cpus Number of CPU threads to allocate for bootstrap node (default: 4)
bootstrap_disk_size Local disk space to allocate for bootstrap node (default: 60 GB)
bootstrap_prefix Name of bootstrap node (default: bootstrap)
control_plane_prefix Name of control plane nodes (default: etcd[n])
compute_prefix Name of compute nodes (default: compute[n])
bootstrap_ignition_url Location of ignition file for bootstrap host
control_plane_ignition Contents of ignition file for control plane hosts (base64 encoded)
compute_ignition Contents of ignition file for compute hosts (base64 encoded)

Notes

The terraform files within this template are ingested by the Lenovo OCP Deployment automation tool written by Jed Record and copyright (c) 2020 Lenovo and Jed Record

Contact Jed Record [email protected] for bugs, updates, or more information

About

Terraform template for installing OpenShift on vSphere using on-premise hardware

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages