This repo contains Terraform templates to help deployment of OpenShift Container Platform (OCP) 4.x on KVM VMs using libvirt.
This project leverages the following ansible playbook to setup helper node (bastion) for OCP deployment.
Run this code from either Mac or Linux (Intel) system.
โ This automation is intended for test/development purposes only and there is no formal support. For issues please open a GitHub issue
- Git: Please refer to the following link for instructions
on installing
git
for Linux and Mac. - Terraform: You'll need to use version
0.12.20
. Please refer to the following link for instructions on installingterraform
for Linux and Mac. - Terraform Providers: Please ensure terraform providers are built and installed on Terraform Client Machine. You can follow the Build Terraform Providers guide.
- libvirt: Please ensure
libvirt
is installed and configured on the KVM host. You can follow the Libvirt Host setup guide.
For information on how to configure the images required for the automation see Preparing Images for Power.
Following are the recommended VM configs for OpenShift nodes that will be deployed with RHCOS image.
-
Bootstrap, Master - 4 vCPUs, 16GB RAM, 120 GB Disk
This config is suitable for majority of the scenarios
-
Worker - 4 vCPUs, 16GB RAM, 120 GB Disk
Increase worker vCPUs, RAM and Disk based on application requirements
Following is the recommended VM config for the helper node that will be deployed with RHEL 8.0 (or later) image.
- Helper node (bastion) - 2vCPUs, 16GB RAM, 200 GB Disk
Follow these quickstart steps to kickstart OCP installation on Power KVM using libvirt.
Please see the contributing doc for more details. PRs are most welcome !!