Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.56 KB

README.md

File metadata and controls

41 lines (23 loc) · 1.56 KB

How to Config KVM for OpenShift 4

KVM is not supported platform for OpenShift 4 and it is only for development purpose.

However, it does not mean that you can not install OCP 4 on KVM. This doc will help you how to configure KVM and host environment.

Video

How to Config KVM for OCP4

Prerequisite

In order to install OCP4 on KVM, you need to build the NextGen installer on you end, which means you have to install golang package. The ansible playbook does not install golang package but it checks the version of go.

Manual way

The official doc show you how to set up KVM enviroment for openshift 4. Hence, I don't repeat the same steps here. If you have to do it manually, please refer the doc.

Ansible Playbook

Originally, this playbook is from this PR. This is not mergered yet so I can not send PR after some issues fixed. I copied the origial playbook and updated. If you wnat to see the original file, please see the PR.

ansible-playbook config_kvm.yml

This is updated file(config_kvm.yml).

Troubeshooting

  • The ipaddr filter requires python-netaddr be installed on the ansible controller
    pip install netaddr