Skip to content

Container to be used to deploy OCP 4 UPI/IPI Ansible Playbooks.

Notifications You must be signed in to change notification settings

cptmorgan-rh/ocp4-vsphere-deploy-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

OpenShift 4 VMware Deploy Container

Description


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.

How To Use

  1. Create a folder in your home directory and copy your ssh public key and openshift pull secret.
    • e.g. mkdir $HOME/ocp_install_files
  2. 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
  1. Update your groupi_vars/all.yml file to point to your ssh public key and openshift pull secret.
  2. 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') }}"

AUTHOR

Morgan Peterman

About

Container to be used to deploy OCP 4 UPI/IPI Ansible Playbooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published