Version v0.2 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

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: cpu, systemInformation, and labelSelectors. 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.

An example:

kind: ServerClass
  name: default
      - 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
      - "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.