Show / Hide Table of Contents

Class V1alpha3PoolStatus

PoolStatus contains status information for a single resource pool.

Inheritance
object
V1alpha3PoolStatus
Implements
IEquatable<V1alpha3PoolStatus>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3PoolStatus : IEquatable<V1alpha3PoolStatus>

Constructors

V1alpha3PoolStatus()

Declaration
public V1alpha3PoolStatus()

V1alpha3PoolStatus(V1alpha3PoolStatus)

Declaration
protected V1alpha3PoolStatus(V1alpha3PoolStatus original)
Parameters
Type Name Description
V1alpha3PoolStatus original

Properties

AllocatedDevices

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.

Declaration
[JsonPropertyName("allocatedDevices")]
public int? AllocatedDevices { get; set; }
Property Value
Type Description
int?

AvailableDevices

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.

Declaration
[JsonPropertyName("availableDevices")]
public int? AvailableDevices { get; set; }
Property Value
Type Description
int?

Driver

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

Declaration
[JsonPropertyName("driver")]
public string Driver { get; set; }
Property Value
Type Description
string

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

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.

Declaration
[JsonPropertyName("generation")]
public long Generation { get; set; }
Property Value
Type Description
long

NodeName

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).

Declaration
[JsonPropertyName("nodeName")]
public string NodeName { get; set; }
Property Value
Type Description
string

PoolName

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

Declaration
[JsonPropertyName("poolName")]
public string PoolName { get; set; }
Property Value
Type Description
string

ResourceSliceCount

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

Declaration
[JsonPropertyName("resourceSliceCount")]
public int? ResourceSliceCount { get; set; }
Property Value
Type Description
int?

TotalDevices

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.

Declaration
[JsonPropertyName("totalDevices")]
public int? TotalDevices { get; set; }
Property Value
Type Description
int?

UnavailableDevices

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.

Declaration
[JsonPropertyName("unavailableDevices")]
public int? UnavailableDevices { get; set; }
Property Value
Type Description
int?

ValidationError

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.

Declaration
[JsonPropertyName("validationError")]
public string ValidationError { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1alpha3PoolStatus?)

Declaration
public virtual bool Equals(V1alpha3PoolStatus? other)
Parameters
Type Name Description
V1alpha3PoolStatus other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1alpha3PoolStatus?, V1alpha3PoolStatus?)

Declaration
public static bool operator ==(V1alpha3PoolStatus? left, V1alpha3PoolStatus? right)
Parameters
Type Name Description
V1alpha3PoolStatus left
V1alpha3PoolStatus right
Returns
Type Description
bool

operator !=(V1alpha3PoolStatus?, V1alpha3PoolStatus?)

Declaration
public static bool operator !=(V1alpha3PoolStatus? left, V1alpha3PoolStatus? right)
Parameters
Type Name Description
V1alpha3PoolStatus left
V1alpha3PoolStatus right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX