Version v0.1 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
Server classes are a way to group distinct server resources.
The “qualifiers” key allows the administrator to specify criteria upon which to group these servers.
There are currently three keys:
Each of these keys accepts a list of entries.
The top level keys are a “logical AND”, while the lists under each key are a “logical OR”.
Qualifiers that are not specified are not evaluated.
apiVersion: metal.sidero.dev/v1alpha1 kind: ServerClass metadata: name: default spec: qualifiers: cpu: - manufacturer: Intel(R) Corporation version: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz - manufacturer: Advanced Micro Devices, Inc. version: AMD Ryzen 7 2700X Eight-Core Processor labelSelectors: - "my-server-label": "true"
Servers would only be added to the above class if they had EITHER CPU info, AND the label associated with the server resource.