This Container should be used when deploying the OpenShift 4 ocp4-aio-vsphere-upi-lab or ocp4-vsphere-ipi-lab if you are running on CentOS/RHEL 7/8. Butane is required to configure the CoreDNS and HAProxy Loadbalancer and it requires glibc 2.32 which is not available in CentOS/RHEL 7/8.
If you are not deploying the CoreDNS or HAProxy Load Balancer servers then this container is not needed.
- Create a folder in your home directory and copy your ssh public key and openshift pull secret.
- e.g. mkdir $HOME/ocp_install_files
- Run the container and clone the UPI or IPI repository.
$ podman run --name ocp4_vmware_deploy -it -v $HOME/ocp_install_files:/ocp_install_files:Z quay.io/mpeterma/ocp4_vmware_deploy
$ git clone https://github.com/cptmorgan-rh/ocp4-aio-vsphere-upi-lab.git
$ git clone https://github.com/cptmorgan-rh/ocp4-vsphere-ipi-lab
- Update your groupi_vars/all.yml file to point to your ssh public key and openshift pull secret.
- After the installation has completed you can copy the install_dir to the /ocp_install_files directory so they are accesible from your host machine.
config:
...
installer_ssh_key: "{{ lookup('file', '/ocp_install_files/id_rsa.pub') }}"
pull_secret: "{{ lookup('file', '/ocp_install_files/pull-secret.json') }}"
Morgan Peterman