Install a Private Cluster in AWS using OpenShift Install
Issue
When attempting to create the install-config.yaml
for a private instance of OpenShift 4.x with the openshift-install
tool. If the environment does not contain a public Route53 hosted zone then the openshift-install
tool is unable to create the required install configuration files.
The openshift-install tool does support creating a private cluster if the appropriate install configuration is provided to the CLI tool however the tool does not support generating the install configuration files for a private cluster using the CLI prompts.
The following error is being displayed.
$ openshift-install create install-config --dir=config-dir
? SSH Public Key <none>
? Platform aws
INFO Credentials loaded from the "default" profile in file "/root/.aws/credentials"
? Region ap-southeast-1
FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Base Domain": no public Route 53 hosted zones found
Environment
openshift-install 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.