Skip to content

mgiessing/ocp4-upi-kvm

 
 

Table of Contents

Introduction

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

Pre-requisites

  • 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 installing terraform 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.

Image and VM requirements

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

OCP Install

Follow these quickstart steps to kickstart OCP installation on Power KVM using libvirt.

Contributing

Please see the contributing doc for more details. PRs are most welcome !!

About

OCP4 on KVM/Power

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENCE.txt

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 99.1%
  • Shell 0.9%