Package org.cdk8s.plus28.k8s
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classKubeResourceClassV1Alpha2Props.BuilderA builder forKubeResourceClassV1Alpha2Propsstatic classKubeResourceClassV1Alpha2Props.Jsii$ProxyAn implementation forKubeResourceClassV1Alpha2Props
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static KubeResourceClassV1Alpha2Props.Builderbuilder()StringgetDriverName()DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.default ObjectMetagetMetadata()Standard object metadata.default ResourceClassParametersReferenceV1Alpha2getParametersRef()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.default NodeSelectorgetSuitableNodes()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.
-
-
-
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.
-
builder
@Stability(Stable) static KubeResourceClassV1Alpha2Props.Builder builder()
-
-