Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.11 KB

File metadata and controls

31 lines (24 loc) · 2.11 KB

V1CSINode

CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

Properties

Name Type Description Notes
api_version str 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 [optional]
kind str 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 [optional]
metadata V1ObjectMeta [optional]
spec V1CSINodeSpec

Example

from kubernetes.client.models.v1_csi_node import V1CSINode

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

# convert the object into a dict
v1_csi_node_dict = v1_csi_node_instance.to_dict()
# create an instance of V1CSINode from a dict
v1_csi_node_from_dict = V1CSINode.from_dict(v1_csi_node_dict)

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