This is a cache of https://docs.okd.io/4.18/observability/power_monitoring/power-monitoring-api-reference.html. It is a snapshot of the page at 2025-08-02T23:10:30.141+0000.
Power monitoring API reference - Power Monitoring | Observability | OKD 4.18
×

Power monitoring is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

PowerMonitor is the Schema for the PowerMonitor API.

PowerMonitoring API specifications

PowerMonitor

PowerMonitor is the schema for the PowerMonitor API.

Name Type Description Required

apiVersion

string

kepler.system.sustainable.computing.io/v1alpha1

true

kind

string

PowerMonitor

true

object

Refer to the Kubernetes API documentation for the fields of the metadata field.

true

spec

object

PowerMonitorSpec defines the desired state of Power Monitor

false

status

PowerMonitor.spec

PowerMonitorSpec defines the desired state of Power Monitor

Name Type Description Required

kepler

object

true

PowerMonitor.status.conditions

Name Type Description Required

lastTransitionTime

string

The last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
Format: date-time

true

message

string

A human-readable message indicating details about the transition. This may be an empty string.

true

reason

string

Contains a programmatic identifier indicating the reason for the condition’s last transition.

true

status

string

The status of the condition, which can be one of True, False, or Unknown.

true

type

string

The type of Kepler Condition, such as Reconciled or Available.

true

observedGeneration

integer

Represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date.
Format: int64
Minimum: 0

false

PowerMonitor.status.kepler

Name Type Description Required

currentNumberScheduled

integer

The number of nodes that are running at least one power-monitor pod and are supposed to run it.
Format: int32

true

desiredNumberScheduled

integer

The total number of nodes that should be running the power-monitor pod.
Format: int32

true

numberMisscheduled

integer

The number of nodes running the power-monitor pod that are not supposed to.
Format: int32

true

numberReady

integer

The number of nodes that should be running the power-monitor pod and have at least one pod with a Ready condition.
Format: int32

true

numberAvailable

integer

The number of nodes that should be running the power-monitor pod and have at least one pod running and available.
Format: int32

false

numberUnavailable

integer

The number of nodes that should be running the power-monitor pod but have no pods running and available.
Format: int32

false

updatedNumberScheduled

integer

The total number of nodes that are running an updated power-monitor pod.
Format: int32

false