Add Kepler unit
What does this MR?
Kepler unit implementation
Unit
Kepler unit deployment is composed by two units:
- kepler-resources
- kepler
Kepler-resources
kepler-reources unit is needed to create configmaps required by kepler unit. In particular, kustomization_spec
is encharged of creating the two configmaps (defined in sylva-core/kustomize-units/kepler-resources
):
- kepler-config.yaml: contains all Kepler configuration parameters
- kepler-dashboard.yaml: needed to add Kepler dashboard to Grafana
kepler-resources depends on namespace-defs unit (which has been modified to create kepler namespace) and it is enabled only when kepler unit is enabled as well.
Kepler
kepler unit installs Kepler by its Helm chart (version 0.5.7). _postRenderers
field is used in order to import kepler-configmap
created by kepler-resources unit.
It depends on monitoring unit which installs Prometheus and Grafana.
How to deploy
Kepler unit is disabled by default. In order to enable it, set the enabled field to true under the values of the mangament/workload cluster values.yaml:
units:
kepler:
enabled: true
In order for kepler to get power metrics from the BMC of the servers in case of bare metal cluster, add to your secrets.yaml
:
units:
kepler:
helm_secret_values:
redfish:
fileContent: |
<NODE_NAME_1>,<USERNAME>,<PASSWORD>,<REDFISH IP/HOSTNAME>
<NODE_NAME_2>,<USERNAME>,<PASSWORD>,<REDFISH IP/HOSTNAME>
Related to the Kepler RFE