class K8S::Api::Storage::V1beta1::CSINode
- K8S::Api::Storage::V1beta1::CSINode
- K8S::Kubernetes::Resource
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/storage/v1beta1/csi_node.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, spec : Api::Storage::V1beta1::CSINodeSpec, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil)
Class Method Summary
Instance Method Summary
- #api_version : String
- #kind : String
- #merge(other)
-
#metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata.name must be the Kubernetes node name.
-
#metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
metadata.name must be the Kubernetes node name.
- #spec : Api::Storage::V1beta1::CSINodeSpec
- #spec=(spec : Api::Storage::V1beta1::CSINodeSpec)
- #to_h
Instance methods inherited from module K8S::Kubernetes::Resource::Object
api_version : String
api_version,
kind : String
kind,
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta
metadata!
Instance methods inherited from class K8S::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class K8S::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Class methods inherited from class K8S::Kubernetes::Resource
from_file(file)
from_file,
from_files(*paths)
from_files
Constructor Detail
Class Method Detail
Instance Method Detail
metadata.name must be the Kubernetes node name.
metadata.name must be the Kubernetes node name.