Skip to content

Deploy OpenShift 4 using libvirt IPI on CentOS or Fedora

Notifications You must be signed in to change notification settings

luisarizmendi/ocp-libvirt-ipi

Repository files navigation

What is this repo doing?

This repo automates the usage of the ocp-libvirt-ipi Ansible role that is published in Ansible Galaxy.

How can I use it?

You need to complete the pre-requisites and launch the script...easy.

Pre-requisites

  • You need to have your system ready to use ansible, so ansible installed, password-less access to the node and a user with sudo privileges

  • You need to create a inventory file. There is already an inventory.EXAMPLE that you can use as a template

  • You need to create a install-config.yaml file with the OpenShift configuration. You can find an install-config.EXAMPLE that can used as a template

  • You need to create a playbook to import the role and including the variables to customize your environment. A ocp_libvirt_ipi.yaml.EXAMPLE is included to be used as template. For more information about variables you can check the ansible role README

Creating or destroying the OpenShift environment

Once you completed the pre-requisites, just run ./create.sh to deploy OpenShift or ./destroy.sh to clean up the node.

Enjoy

That's all, make responsible use of these playbooks (remember that this is just for LABs) and enjoy the Machine API even when your LAB is running on a single KVM node.

About

Deploy OpenShift 4 using libvirt IPI on CentOS or Fedora

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages