airshipctl/manifests/function/hwcc
Sean Eagan a65a7e155b Externalize KRM function versions
Relates-To: #524
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: I7e811835ae1e5ab2cab65c398c53126f3a632405
2021-05-26 20:18:49 +00:00
..
certmanager Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
crd Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
default Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
manager Add toleration for taint 2020-12-14 14:56:51 -06:00
prometheus Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
rbac Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
replacements Externalize KRM function versions 2021-05-26 20:18:49 +00:00
samples Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
webhook Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
kustomization.yaml Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
namespace.yaml Add manifests for Hardware-Classification-Controller 2020-08-18 09:31:04 +00:00
README.md Incorporate HWCC in deployment gate. 2020-11-10 16:12:28 +05:30

Function: hwcc

Controller for classifying host hardware characteristics to expected values.

The HWCC (Hardware Classification Controller) compares and validates the workload profile against Baremetal Hosts and classifies right match host and label the host. Also it displays the count for matched, unmatched and error hosts.

Comparison and validation is done on baremetalhost list provided by BMO against hardware profile mentioned in metal3.io_hardwareclassifications.yaml.

HWCC will label matched hosts.

  • Default

    hardwareclassification.metal3.io/<PROFILE-NAME>=matches

  • User Provided

    hardwareclassification.metal3.io/<PROFILE-NAME>=<LABEL>

HWCC also label hosts which are in error state if hardwareclassification-error=All label is given in workload profile.

HWCC status shows multiple items w.r.t applied profile :

  • Name of the profile
  • Profile match status
  • Matched Host count
  • Error Host count

Example Usage

User can validate and classify the hosts based on hardware requirement. User will get to know how many hosts matched to user profile and how many hosts are in error state. HWCC status will also show number of hosts falling under different error states. User can select any of matched host and go for provisioning.