struct

Kubernetes::PoolStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

PoolStatus contains status information for a single resource pool.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

allocated_devices

AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.

Source
allocated_devices=(allocated_devices : Int32 | Nil)

AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.

Source
available_devices

AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.

Source
available_devices=(available_devices : Int32 | Nil)

AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.

Source
driver

Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").

Source
driver=(driver : String | Nil)

Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").

Source
generation

Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.

Source
generation=(generation : Int64 | Nil)

Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.

Source
node_name

NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).

Source
node_name=(node_name : String | Nil)

NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).

Source
pool_name

PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").

Source
pool_name=(pool_name : String | Nil)

PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").

Source
resource_slice_count

ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.

Source
resource_slice_count=(resource_slice_count : Int32 | Nil)

ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.

Source
total_devices

TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.

Source
total_devices=(total_devices : Int32 | Nil)

TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.

Source
unavailable_devices

UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.

Source
unavailable_devices=(unavailable_devices : Int32 | Nil)

UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.

Source
validation_error

ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.

Source
validation_error=(validation_error : String | Nil)

ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source