Class WorkloadRuntime
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WorkloadRuntime>
com.azure.resourcemanager.containerservice.models.WorkloadRuntime
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class WorkloadRuntime
extends com.azure.core.util.ExpandableStringEnum<WorkloadRuntime>
Determines the type of workload a node can run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorkloadRuntimeNodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods.static final WorkloadRuntimeNodes will use Kubelet to run standard OCI container workloads.static final WorkloadRuntimeNodes will use Krustlet to run WASM workloads using the WASI provider (Preview). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkloadRuntimefromString(String name) Creates or finds a WorkloadRuntime from its string representation.static Collection<WorkloadRuntime> values()Gets known WorkloadRuntime values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
OCICONTAINER
Nodes will use Kubelet to run standard OCI container workloads. -
WASM_WASI
Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). -
KATA_VM_ISOLATION
Nodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods. Due to the use Hyper-V, AKS node OS itself is a nested VM (the root OS) of Hyper-V. Thus it can only be used with VM series that support Nested Virtualization such as Dv3 series.
-
-
Constructor Details
-
WorkloadRuntime
Deprecated.Use thefromString(String)factory method.Creates a new instance of WorkloadRuntime value.
-
-
Method Details
-
fromString
Creates or finds a WorkloadRuntime from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding WorkloadRuntime.
-
values
Gets known WorkloadRuntime values.- Returns:
- known WorkloadRuntime values.
-
fromString(String)factory method.