Skip to content

Instantly share code, notes, and snippets.

@karmab
Last active May 19, 2022 09:47
Show Gist options
  • Save karmab/1cce76e123a716f5d745d47c0777bd0d to your computer and use it in GitHub Desktop.
Save karmab/1cce76e123a716f5d745d47c0777bd0d to your computer and use it in GitHub Desktop.
README.md

Steps to create a virtual cluster with baremetal workers

requirements

  • valid pull secret
  • a bridge created on top of your default interface in the hypervisor, in this documentation, the bridge is named baremetal

Create base cluster (using a param file like the one provided as an example)

kcli create cluster openshift

Create base iso

CLUSTER=xxx
DOMAIN=karmalabs.com
API_IP=10.19.129.252
kcli create openshift-iso -P api_ip=$API_IP $CLUSTER.$DOMAIN

this will generate an iso named $cluster-worker.iso in your libvirt pool

Plug the resulting iso to your baremetal workers and wait

cluster: xxx
domain: karmalabs.com
masters: 3
workers: 0
version: stable
tag: "4.10"
api_ip: 10.19.129.252
network: baremetal
numcpus: 16
master_memory: 28672
worker_memory: 28672
bootstrap_memory: 8192
disk_size: 40
kvm_openstack: true
apps:
- users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment