Table of Contents
- Purpose
- Requirements
- Dependencies
- Internet Connected Side
- Air Gap Side
- Miscellaneous
- License
- Contributors
This repository contains scripts, ansible roles, and other toosl for deploying an OpenShift 4 cluster in an air-gapped environment.
The repository has been tested to work for installs of OpenShift 4.3, 4.4, and 4.5.
The helper node in the internet connected environment, as well as the helper node in the air-gap environment have been tested on RHEL 8. Most things will still work on RHEL 7 but not all.
These tools can also be used in semi-disconnected environments which can be reached through a proxy host from the public internet.
This section covers getting started on the internet connected helper node. This is where all tools and images will be downloaded to
-
Mirror RPM Repositories(Optional)
-
Mirror Additional Container Images(Optional)
-
Mirror Helm and Helm Charts(Optional)
This section covers setting up the infrastructure in the air gap environment and install the OpenShift 4 cluster
-
Configure AWS Infrastructure Variable File (for AWS only)
-
Configure AWS Infrastructure Variable File (for VMWare only)
When installing in an emulator you may require an SSH tunnel to reach the web console. The DNS names need to be configured because the cluster's pages will redirect so using IPs directly won't work.
ssh -L 127.0.0.2:8443:<IP Address of the https load balancer>:443 -L 127.0.0.2:8080:<IP Address of the https load balancer>:80 ec2-user@proxyhost
Inside your local /etc/hosts:
127.0.0.2 console-openshift-console.apps.<ocp_cluster_name>.<ocp_base_domain> oauth-openshift.apps.<ocp_cluster_name>.<ocp_base_domain>
Now browse to https://console-openshift-console.apps.<ocp_cluster_name>.<ocp_base_domain>
- Dan Clark (maintainer)