It is helpful to understand the high level architecture of of the Machine API Integration. Click on each step to learn more about that particular component.
The first component is the Bare Metal Actuator, which is an implementation of the Machine Actuator interface defined by the cluster-api project. This actuator reacts to changes to Machine objects and acts as a client of the BareMetalHost custom resources managed by the Bare Metal
The architecture also includes a new Bare Metal Operator, which includes the following:
A Controller for a new Custom Resource, BareMetalHost. This custom resource represents an inventory of known (configured or automatically discovered) bare metal hosts. When a Machine is created the Bare Metal Actuator will claim one of these hosts to be provisioned as a new Kubernetes node. In response to BareMetalHost updates, the controller will perform bare metal host provisioning actions as necessary to reach the desired state. The creation of the BareMetalHost inventory can be done in two ways:
- Manually via creating BareMetalHost objects.
- Optionally, automatically created via a bare metal host discovery process. For more information about Operators, see the operator-sdk.
The operator manages a set of tools for controlling the power on the host, monitoring the host status, and provisioning images to the host. These tools run inside the pod with the operator, and do not require any configuration by the user.
Around the Web
- Metal3: Deploy Kubernetes on Bare Metal - Yolanda Robla - Shift Dev 2019
- Introducing Metal3 kubernetes native bare metal host management - Kubecon NA 2019
- Extend Your Data Center to the Hybrid Edge - Red Hat Summit, May 2019
- OpenStack Ironic and Bare Metal Infrastructure: All Abstractions Start Somewhere - Chris Hoge, OpenStack Foundation; Julia Kreger, Red Hat
- Kubernetes-native Infrastructure: Managed Baremetal with Kubernetes Operators and OpenStack Ironic - Steve Hardy, Red Hat
In The News
- The New Stack: Metal3 Uses OpenStack’s Ironic for Declarative Bare Metal Kubernetes
- The Register: Raise some horns: Red Hat’s MetalKube aims to make Kubernetes on bare machines simple
- Join Metal3 Team Meetups to engage in discussion with members and help with a deeper understanding of the project as well as the future discussion