ResourceClaim

data class ResourceClaim(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: ResourceClaimSpec, val status: ResourceClaimStatus? = null)

ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Constructors

Link copied to clipboard
constructor(apiVersion: String? = null, kind: String? = null, metadata: ObjectMeta? = null, spec: ResourceClaimSpec, status: ResourceClaimStatus? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val apiVersion: String? = null

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Link copied to clipboard
val kind: String? = null

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Link copied to clipboard
val metadata: ObjectMeta? = null

Standard object metadata

Link copied to clipboard

Spec describes what is being requested and how to configure it. The spec is immutable.

Link copied to clipboard

Status describes whether the claim is ready to use and what has been allocated.