Interface KubeResourceClassV1Alpha2Props

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    KubeResourceClassV1Alpha2Props.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-03T12:13:25.784Z")
    @Stability(Stable)
    public interface KubeResourceClassV1Alpha2Props
    extends software.amazon.jsii.JsiiSerializable
    ResourceClass is used by administrators to influence how resources are allocated.

    This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

    • Method Detail

      • getDriverName

        @Stability(Stable)
        @NotNull
        String getDriverName()
        DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.

        Resource drivers have a unique name in forward domain order (acme.example.com).

      • getMetadata

        @Stability(Stable)
        @Nullable
        default ObjectMeta getMetadata()
        Standard object metadata.
      • getParametersRef

        @Stability(Stable)
        @Nullable
        default ResourceClassParametersReferenceV1Alpha2 getParametersRef()
        ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class.

        A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.

      • getSuitableNodes

        @Stability(Stable)
        @Nullable
        default NodeSelector getSuitableNodes()
        Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.

        Setting this field is optional. If null, all nodes are candidates.