此内容没有您所选择的语言版本。

Chapter 9. Power monitoring API reference


Important

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.

9.1. PowerMonitoring API specifications

PowerMonitor

PowerMonitor is the schema for the PowerMonitor API.

Expand
NameTypeDescriptionRequired

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

9.1.1. PowerMonitor.spec

PowerMonitorSpec defines the desired state of Power Monitor

Expand
NameTypeDescriptionRequired

kepler

object

 

true

9.1.2. PowerMonitor.status.conditions

Expand
NameTypeDescriptionRequired

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

9.1.3. PowerMonitor.status.kepler

Expand
NameTypeDescriptionRequired

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

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat