81285065ca | ||
---|---|---|
.. | ||
README.md | ||
bootstrap.tf | ||
dns.tf | ||
firewall.tf | ||
iam.tf | ||
ilb.tf | ||
main.tf | ||
masters.tf | ||
outputs.tf | ||
variables.tf | ||
versions.tf |
README.md
OpenShift Cluster Bootstrap
This example is a companion setup to the Python script in the parent folder, and is used to bootstrap OpenShift clusters on GCP. Refer to the documentation in the parent folder for usage instructions.
Variables
name | description | type | required | default |
---|---|---|---|---|
cluster_name | Name used for the cluster and DNS zone. | string |
✓ | |
domain | Domain name used to derive the DNS zone. | string |
✓ | |
fs_paths | Filesystem paths for commands and data, supports home path expansion. | object({…}) |
✓ | |
host_project | Shared VPC project and network configuration. | object({…}) |
✓ | |
service_project | Service project configuration. | object({…}) |
✓ | |
allowed_ranges | Ranges that can SSH to the bootstrap VM and API endpoint. | list(any) |
["10.0.0.0/8"] |
|
disk_encryption_key | Optional CMEK for disk encryption. | object({…}) |
null |
|
install_config_params | OpenShift cluster configuration. | object({…}) |
{…} |
|
post_bootstrap_config | Name of the service account for the machine operator. Removes bootstrap resources when set. | object({…}) |
null |
|
region | Region where resources will be created. | string |
"europe-west1" |
|
rhcos_gcp_image | RHCOS image used. | string |
"projects/rhcos-cloud/global/images/rhcos-47-83-202102090044-0-gcp-x86-64" |
|
tags | Additional tags for instances. | list(string) |
["ssh"] |
|
zones | Zones used for instances. | list(string) |
["b", "c", "d"] |
Outputs
name | description | sensitive |
---|---|---|
backend-health | Command to monitor API internal backend health. | |
bootstrap-ssh | Command to SSH to the bootstrap instance. | |
masters-ssh | Command to SSH to the master instances. |