Skip to content

Demo code for SUSE build of Metal3

Notifications You must be signed in to change notification settings

hardys/metal3-demo

 
 

Repository files navigation

Table Of Contents

Overview

This is the demo environment for Metal Kubed - Bare Metal Host Provisioning for Kubernetes The purpose of this environment is demonstrate the capabilities of Kubernetes Cluster API, for Kubernetes workload cluster life cycle management. The demo environment consist of two VMs, Metal3 Network Infra and Metal3 Core respectively. Metal3 Demo Overview As depicted by the diagram above, the Metal3 Network Infra VM is designed to emulate the infrastructure pieces, namely DNS, DHCP, and media server, which are required by Metal3 and typically expected to be deployed outside of the management cluster in a production environment. Metal3 Core VM has all the pieces, namely CAPI (Cluster API) controller, RKE2 bootstrap provider (CABPR), RKE2 control plane provider (CACPPR), Metal3 infrastructure provider (CAPM3), Baremetal Operator, and OpenStack Ironic, in a typical production Metal3 management cluster. The external-dns controller on the Metal3 Core VM (management cluster) is configured to use the PowerDNS running on the Metal3 Network Infra VM, which illustrates what a production environment should look like.

Networking

For security purposes, network segmentation is expected in production environment, which usually consist of an internal provisioning network for bare metal provisioning, and public network which is routable to the internet. Therefore, the demo environment is designed to closely align with a typically production use case. As such, the host where the VMs are running is expected to have to networking bridges, one for the provisioning network (BMC) and the other for the public network (i.e. tagged VLAN).

Prerequisites

  • Host is expected to have two network bridges, one for the provisioning network (BMC) and the other for the public network (i.e. tagged VLAN).
  • Host with at least 32GB RAM & 200GB free disk space.
  • Github credential (i.e. username/personal access token), for cloning repos

How To Setup Metal3 Demo Environment

  • Refer to the Metal3 Setup Doc for a walkthrough of the Metal3 Demo environment setup.
  • The VBMH Setup Doc is a walkthrough of the setup of virtual machines to act as bare metal hosts.
  • The RKE2 Setup Doc is a walkthrough of the deployment of a sample RKE2 cluster on the virtual bare metal hosts.
  • Example RKE2 deployment manifest exists here.
  • For the automation of this deployment, click here.

About

Demo code for SUSE build of Metal3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 55.0%
  • Shell 45.0%