Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Budi Darmawan committed May 28, 2021
1 parent 3637676 commit 97e3d42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,19 @@ This project uses mainly Terraform as infrastructure management and installation
zypper install wget
```
4. Get the Terraform code
5. Install jq: see [https://stedolan.github.io/jq/download/](https://stedolan.github.io/jq/download/)
6. Get the Terraform code
```bash
git clone https://github.com/ibm-cloud-architecture/terraform-openshift4-aws.git
```

5. Prepare the DNS
7. Prepare the DNS

OpenShift requires a valid DNS domain, you can get one from AWS Route53 or using existing domain and registrar. The DNS must be registered as a Public Hosted Zone in Route53. (Even if you plan to use an airgapped environment)
OpenShift requires a valid public Route53 hosted zone. (Even if you plan to use an airgapped environment)

6. Prepare AWS Account Access
8. Prepare AWS Account Access

Please reference the [Required AWS Infrastructure components](https://docs.openshift.com/container-platform/4.6/installing/installing_aws/installing-aws-account.html) to setup your AWS account before installing OpenShift 4.

Expand Down Expand Up @@ -107,8 +109,8 @@ This project installs the OpenShift 4 in several stages where each stage automat
2. Deploy the OpenShift 4 cluster using the following modules in the folders:

- route53: generate a private hosted zone using route 53
- vpc: Create the VPC, subnets, security groups and load balancers for the OpenShift cluster
- install: Build the installation files, ignition configs and modify YAML files
- vpc: Create the VPC, subnets, security groups and load balancers for the OpenShift cluster
- iam: define AWS authorities for the masters and workers
- bootstrap: main module to provision the bootstrap node and generates OpenShift installation files and resources
- master: create master nodes manually (UPI)
Expand Down
4 changes: 2 additions & 2 deletions terraform.tfvars.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clustername = "ocp4"
cluster_name = "ocp4"
base_domain = "example.com"
openshift_pull_secret = "./openshift_pull_secret.json"
openshift_installer_url = "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest"
openshift_installer_url = "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.6.28"

aws_access_key_id = "AAAA"
aws_secret_access_key = "AbcDefGhiJkl"
Expand Down

0 comments on commit 97e3d42

Please sign in to comment.