baremetal-operator

command module
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

README

Bare Metal Operator

CLOMonitor OpenSSF Scorecard Ubuntu E2E Integration 1.6 build status CentOS E2E Integration 1.6 build status

The Bare Metal Operator implements a Kubernetes API for managing bare metal hosts. It maintains an inventory of available hosts as instances of the BareMetalHost Custom Resource Definition. The Bare Metal Operator knows how to:

  • Inspect the host’s hardware details and report them on the corresponding BareMetalHost. This includes information about CPUs, RAM, disks, NICs, and more.
  • Provision hosts with a desired image.
  • Clean a host’s disk contents before or after provisioning.

More capabilities are being added regularly. See open issues and pull requests for more information on work in progress.

For more information about Metal³, the Bare Metal Operator, and other related components, see the Metal³ docs.

Resources

Integration tests

Currently a PR in BMO is tested with CAPM3 integration tests. There are two types of CAPM3 integration test, CAPM3 e2e integration tests and ansible integration tests. You will see one of each kind as a required test on a BMO PR. Eventually these tests will be replaced with BMO's own e2e tests. BMO e2e tests are currently under active development. Here are the tests which run on different branches in BMO:

Main branch:

  • /test-centos-e2e-integration-main runs CAPM3 e2e integration tests with CAPM3 main branch and BMO main branch on Centos
  • /test-ubuntu-integration-main runs ansible integration tests with CAPM3 main branch and BMO main branch on Ubuntu

Release-0.5 branch:

  • /test-centos-e2e-integration-release-1-6 runs CAPM3 e2e integration tests with CAPM3 release-1.6 branch and BMO release-0.5 branch on Centos
  • /test-ubuntu-integration-release-1-6 runs ansible integration tests with CAPM3 release-1.6 branch and BMO release-0.5 branch on Ubuntu

Release-0.4 branch:

  • /test-centos-e2e-integration-release-1-5 runs CAPM3 e2e integration tests with CAPM3 release-1.5 branch and BMO release-0.4 branch on Centos
  • /test-ubuntu-integration-release-1-5 runs ansible integration tests with CAPM3 release-1.5 branch and BMO release-0.4 branch on Ubuntu

Release-0.3 branch:

  • /test-centos-e2e-integration-release-1-4 runs CAPM3 e2e integration tests with CAPM3 release-1.4 branch and BMO release-0.3 branch on Centos
  • /test-ubuntu-integration-release-1-4 runs ansible integration tests with CAPM3 release-1.4 branch and BMO release-0.3 branch on Ubuntu
Important Notes

Whenever there is a change in config/ directory, please remember to run the following command:

make manifests

This will render the config/render/capm3.yaml. Please do not change the content of config/render/capm3.yaml manually.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apis module
cmd
get-hardware-details
get-hardware-details is a tool that can be used to convert raw Ironic introspection data into the HardwareDetails type used by Metal3.
get-hardware-details is a tool that can be used to convert raw Ironic introspection data into the HardwareDetails type used by Metal3.
controllers
pkg
version
Package version includes the version information.
Package version includes the version information.
hardwareutils Module
ironic Module
test module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL