Jump to: navigation, search

StarlingX/Containers/Applications/app-power-metrics

Application: app-power-metrics

Source

Building

From the Debian Build environment:

build-pkgs [-c] -p stx-power-metrics

Testing

After the installation, the DaemonSet will be applied and will launch the pods on the nodes labeled with power-metrics-true.

kubectl get daemonset -n power-metrics
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
cadvisor 0 0 0 0 1 power-metrics=enabled 46h
telegraf 0 0 0 0 1 power-metrics=enabled 46h

Add the label to the host

system host-label-assign controller-0 power-metrics=enabled

kubectl get daemonset -n power-metrics
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
cadvisor 1 1 1 1 1 power-metrics=enabled 46h
telegraf 1 1 1 1 1 power-metrics=enabled 46h

kubectl get pods -n power-metrics
NAME READY STATUS RESTARTS AGE
cadvisor-cff8g 1/1 Running 0 46h
telegraf-l75ts 1/1 Running 0 46h