Class KubeCsiNode

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)",
               date="2023-05-06T02:23:10.849Z")
    @Stability(Stable)
    public class KubeCsiNode
    extends org.cdk8s.ApiObject
    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KubeCsiNode.Builder
      A fluent builder for KubeCsiNode.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.cdk8s.GroupVersionKind GVK
      Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSINode".
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KubeCsiNode​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected KubeCsiNode​(software.amazon.jsii.JsiiObjectRef objRef)  
        KubeCsiNode​(software.constructs.Construct scope, String id, KubeCsiNodeProps props)
      Defines a "io.k8s.api.storage.v1.CSINode" API object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Object manifest​(KubeCsiNodeProps props)
      Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSINode".
      Object toJson()
      Renders the object to Kubernetes JSON.
      • Methods inherited from class org.cdk8s.ApiObject

        addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
      • Methods inherited from class software.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Field Detail

      • GVK

        @Stability(Stable)
        public static final org.cdk8s.GroupVersionKind GVK
        Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSINode".
    • Constructor Detail

      • KubeCsiNode

        protected KubeCsiNode​(software.amazon.jsii.JsiiObjectRef objRef)
      • KubeCsiNode

        protected KubeCsiNode​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • KubeCsiNode

        @Stability(Stable)
        public KubeCsiNode​(@NotNull
                           software.constructs.Construct scope,
                           @NotNull
                           String id,
                           @NotNull
                           KubeCsiNodeProps props)
        Defines a "io.k8s.api.storage.v1.CSINode" API object.

        Parameters:
        scope - the scope in which to define this object. This parameter is required.
        id - a scope-local name for the object. This parameter is required.
        props - initialization props. This parameter is required.
    • Method Detail

      • manifest

        @Stability(Stable)
        @NotNull
        public static Object manifest​(@NotNull
                                      KubeCsiNodeProps props)
        Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSINode".

        This can be used to inline resource manifests inside other objects (e.g. as templates).

        Parameters:
        props - initialization props. This parameter is required.
      • toJson

        @Stability(Stable)
        @NotNull
        public Object toJson()
        Renders the object to Kubernetes JSON.
        Overrides:
        toJson in class org.cdk8s.ApiObject