github.com/openshift/installer@v1.4.17/upi/vsphere/terraform.tfvars.example (about)

     1  // ID identifying the cluster to create. Use your username so that resources created can be tracked back to you.
     2  cluster_id = "example-cluster"
     3  
     4  // Domain of the cluster. This should be "${cluster_id}.${base_domain}".
     5  cluster_domain = "example-cluster.devcluster.openshift.com"
     6  
     7  // Base domain from which the cluster domain is a subdomain.
     8  base_domain = "devcluster.openshift.com"
     9  
    10  // Name of the vSphere server. The dev cluster is on "vcsa.vmware.devcluster.openshift.com".
    11  vsphere_server = "vcsa.vmware.devcluster.openshift.com"
    12  
    13  // User on the vSphere server.
    14  vsphere_user = "YOUR_USER"
    15  
    16  // Password of the user on the vSphere server.
    17  vsphere_password = "YOUR_PASSWORD"
    18  
    19  // Name of the VM template to clone to create VMs for the cluster. The dev cluster has a template named "rhcos-latest".
    20  vm_template = "rhcos-latest"
    21  
    22  // The machine_cidr where IP addresses will be assigned for cluster nodes.
    23  // Additionally, IPAM will assign IPs based on the network ID. 
    24  machine_cidr = "10.0.0.0/24"
    25  
    26  // The number of control plane VMs to create. Default is 3.
    27  control_plane_count = 3
    28  
    29  // The number of compute VMs to create. Default is 3.
    30  compute_count = 3
    31  
    32  // Ignition config path for the control plane machines
    33  control_plane_ignition_path = "./master.ign"
    34  
    35  // Ignition config path for the compute machines
    36  compute_ignition_path = "./worker.ign"
    37  
    38  
    39  // Set ipam and ipam_token if you want to use the IPAM server to reserve IP
    40  // addresses for the VMs.
    41  
    42  // Address or hostname of the IPAM server from which to reserve IP addresses for the cluster machines.
    43  ipam = "139.178.89.254"
    44  
    45  // Token to use to authenticate with the IPAM server.
    46  ipam_token = "TOKEN_FOR_THE_IPAM_SERVER"
    47  
    48  
    49  // Set bootstrap_ip, control_plane_ip, and compute_ip if you want to use static
    50  // IPs reserved someone else, rather than the IPAM server.
    51  
    52  // The IP address to assign to the bootstrap VM.
    53  //bootstrap_ip = "10.0.0.10"
    54  
    55  // The IP addresses to assign to the control plane VMs. The length of this list
    56  // must match the value of control_plane_count.
    57  //control_plane_ips = ["10.0.0.20", "10.0.0.21", "10.0.0.22"]
    58  
    59  // The IP addresses to assign to the compute VMs. The length of this list must
    60  // match the value of compute_count.
    61  //compute_ips = ["10.0.0.30", "10.0.0.31", "10.0.0.32"]
    62  
    63  // A list of maps where each map defines a specific failure domain.  Atleast 1 failure domain must be
    64  // specified.  When multiple failure domains are specified, control plane and compute nodes are distributed
    65  // among the defined failure domains.
    66  failure_domains = [
    67      {
    68          // Name of the vSphere data center.
    69          datacenter = "dc1"
    70          // Name of the vSphere cluster.
    71          cluster = "devel"
    72          // Name of the vSphere data store to use for the VMs.
    73          datastore = "nvme-ds1"
    74          // Name of the vSphere network to use for the VMs.
    75          network = "ci-segment-151"
    76          // UUID of the distrubted switch which is hosting the portgroup.  This can derived from the MOB.
    77          distributed_virtual_switch_uuid = "50 05 1b 07 19 2b 0b 0a-eb 90 98 54 1d c5 b5 19"
    78      },
    79      {
    80          // Name of the vSphere data center.
    81          datacenter = "dc2"
    82          // Name of the vSphere cluster.
    83          cluster = "devel2"
    84          // Name of the vSphere data store to use for the VMs.
    85          datastore = "nvme-ds2"
    86          // Name of the vSphere network to use for the VMs.
    87          network = "ci-segment-151"
    88          // UUID of the distrubted switch which is hosting the portgroup.  This can derived from the MOB.
    89          distributed_virtual_switch_uuid = "50 05 1b 07 19 2b 0b 0a-eb 90 98 54 1d c5 b5 19"
    90      }
    91  ]