WorkloadRuntime Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. WorkloadRuntime
- com.
- com.
public final class WorkloadRuntime
extends ExpandableStringEnum<WorkloadRuntime>
Determines the type of workload a node can run.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Workload |
KATA_VM_ISOLATION
Nodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods. |
|
static final
Workload |
OCICONTAINER
Nodes will use Kubelet to run standard OCI container workloads. |
|
static final
Workload |
WASM_WASI
Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). |
Constructor Summary
| Constructor | Description |
|---|---|
| WorkloadRuntime() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Workload |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Workload |
fromString(String name)
Creates or finds a Workload |
|
static
Collection<Workload |
values()
Gets known Workload |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
KATA_VM_ISOLATION
public static final WorkloadRuntime 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.
OCICONTAINER
public static final WorkloadRuntime OCICONTAINER
Nodes will use Kubelet to run standard OCI container workloads.
WASM_WASI
public static final WorkloadRuntime WASM_WASI
Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
Constructor Details
WorkloadRuntime
@Deprecated
public WorkloadRuntime()
Deprecated
Creates a new instance of WorkloadRuntime value.
Method Details
fromString
public static WorkloadRuntime fromString(String name)
Creates or finds a WorkloadRuntime from its string representation.
Parameters:
Returns:
values
public static Collection<WorkloadRuntime> values()
Gets known WorkloadRuntime values.
Returns: