Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.88 KB

File metadata and controls

29 lines (22 loc) · 1.88 KB

V1PodResourceClaimStatus

PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.

Properties

Name Type Description Notes
name str Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.
resource_claim_name str ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. When the DRAWorkloadResourceClaims feature is enabled and the corresponding PodResourceClaim matches a PodGroupResourceClaim made by the Pod's PodGroup, then this is the name of the ResourceClaim generated and reserved for the PodGroup. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. [optional]

Example

from kubernetes.client.models.v1_pod_resource_claim_status import V1PodResourceClaimStatus

# TODO update the JSON string below
json = "{}"
# create an instance of V1PodResourceClaimStatus from a JSON string
v1_pod_resource_claim_status_instance = V1PodResourceClaimStatus.from_json(json)
# print the JSON string representation of the object
print(V1PodResourceClaimStatus.to_json())

# convert the object into a dict
v1_pod_resource_claim_status_dict = v1_pod_resource_claim_status_instance.to_dict()
# create an instance of V1PodResourceClaimStatus from a dict
v1_pod_resource_claim_status_from_dict = V1PodResourceClaimStatus.from_dict(v1_pod_resource_claim_status_dict)

[Back to Model list] [Back to API list] [Back to README]