kubernetes.aio.client.models.v1alpha3_pool_status module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech

class kubernetes.aio.client.models.v1alpha3_pool_status.V1alpha3PoolStatus(allocated_devices=None, available_devices=None, driver=None, generation=None, node_name=None, pool_name=None, resource_slice_count=None, total_devices=None, unavailable_devices=None, validation_error=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

property allocated_devices

Gets the allocated_devices of this V1alpha3PoolStatus. # noqa: E501

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. # noqa: E501

Returns:

The allocated_devices of this V1alpha3PoolStatus. # noqa: E501

Return type:

int

attribute_map = {'allocated_devices': 'allocatedDevices', 'available_devices': 'availableDevices', 'driver': 'driver', 'generation': 'generation', 'node_name': 'nodeName', 'pool_name': 'poolName', 'resource_slice_count': 'resourceSliceCount', 'total_devices': 'totalDevices', 'unavailable_devices': 'unavailableDevices', 'validation_error': 'validationError'}
property available_devices

Gets the available_devices of this V1alpha3PoolStatus. # noqa: E501

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. # noqa: E501

Returns:

The available_devices of this V1alpha3PoolStatus. # noqa: E501

Return type:

int

property driver

Gets the driver of this V1alpha3PoolStatus. # noqa: E501

Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., “gpu.example.com”). # noqa: E501

Returns:

The driver of this V1alpha3PoolStatus. # noqa: E501

Return type:

str

property generation

Gets the generation of this V1alpha3PoolStatus. # noqa: E501

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. # noqa: E501

Returns:

The generation of this V1alpha3PoolStatus. # noqa: E501

Return type:

int

property node_name

Gets the node_name of this V1alpha3PoolStatus. # noqa: E501

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). # noqa: E501

Returns:

The node_name of this V1alpha3PoolStatus. # noqa: E501

Return type:

str

openapi_types = {'allocated_devices': 'int', 'available_devices': 'int', 'driver': 'str', 'generation': 'int', 'node_name': 'str', 'pool_name': 'str', 'resource_slice_count': 'int', 'total_devices': 'int', 'unavailable_devices': 'int', 'validation_error': 'str'}
property pool_name

Gets the pool_name of this V1alpha3PoolStatus. # noqa: E501

PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by “/”). # noqa: E501

Returns:

The pool_name of this V1alpha3PoolStatus. # noqa: E501

Return type:

str

property resource_slice_count

Gets the resource_slice_count of this V1alpha3PoolStatus. # noqa: E501

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

Returns:

The resource_slice_count of this V1alpha3PoolStatus. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property total_devices

Gets the total_devices of this V1alpha3PoolStatus. # noqa: E501

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. # noqa: E501

Returns:

The total_devices of this V1alpha3PoolStatus. # noqa: E501

Return type:

int

property unavailable_devices

Gets the unavailable_devices of this V1alpha3PoolStatus. # noqa: E501

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. # noqa: E501

Returns:

The unavailable_devices of this V1alpha3PoolStatus. # noqa: E501

Return type:

int

property validation_error

Gets the validation_error of this V1alpha3PoolStatus. # noqa: E501

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. # noqa: E501

Returns:

The validation_error of this V1alpha3PoolStatus. # noqa: E501

Return type:

str