Skip to content

Commit e8e2782

Browse files
committed
Modified kata to use new katavmisolation name.
1 parent 37358a1 commit e8e2782

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/aks-preview/azext_aks_preview/_consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# workload runtime
5656
CONST_WORKLOAD_RUNTIME_OCI_CONTAINER = "OCIContainer"
5757
CONST_WORKLOAD_RUNTIME_WASM_WASI = "WasmWasi"
58-
CONST_WORKLOAD_RUNTIME_KATA_MSHV_VM_ISOLATION = "KataMshvVmIsolation"
58+
CONST_WORKLOAD_RUNTIME_KATA_VM_ISOLATION = "KataVmIsolation"
5959
CONST_WORKLOAD_RUNTIME_KATA_CC_ISOLATION = "KataCcIsolation"
6060

6161
# gpu instance

src/aks-preview/azext_aks_preview/_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
CONST_WEEKINDEX_SECOND,
123123
CONST_WEEKINDEX_THIRD,
124124
CONST_WEEKLY_MAINTENANCE_SCHEDULE,
125-
CONST_WORKLOAD_RUNTIME_KATA_MSHV_VM_ISOLATION,
125+
CONST_WORKLOAD_RUNTIME_KATA_VM_ISOLATION,
126126
CONST_WORKLOAD_RUNTIME_KATA_CC_ISOLATION,
127127
CONST_WORKLOAD_RUNTIME_OCI_CONTAINER,
128128
CONST_WORKLOAD_RUNTIME_WASM_WASI,
@@ -292,7 +292,7 @@
292292
workload_runtimes = [
293293
CONST_WORKLOAD_RUNTIME_OCI_CONTAINER,
294294
CONST_WORKLOAD_RUNTIME_WASM_WASI,
295-
CONST_WORKLOAD_RUNTIME_KATA_MSHV_VM_ISOLATION,
295+
CONST_WORKLOAD_RUNTIME_KATA_VM_ISOLATION,
296296
CONST_WORKLOAD_RUNTIME_KATA_CC_ISOLATION,
297297
]
298298
gpu_instance_profiles = [

src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models/_container_service_client_enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ class WorkloadRuntime(str, Enum, metaclass=CaseInsensitiveEnumMeta):
10861086
"""Nodes will use Kubelet to run standard OCI container workloads."""
10871087
WASM_WASI = "WasmWasi"
10881088
"""Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview)."""
1089-
KATA_MSHV_VM_ISOLATION = "KataMshvVmIsolation"
1089+
KATA_VM_ISOLATION = "KataVmIsolation"
10901090
"""Nodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods (Preview). Due
10911091
to the use Hyper-V, AKS node OS itself is a nested VM (the root OS) of Hyper-V. Thus it can
10921092
only be used with VM series that support Nested Virtualization such as Dv3 series."""

src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models/_models_py3.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class AgentPool(SubResource):
277277
root, and Kubelet ephemeral storage. Known values are: "OS" and "Temporary".
278278
:vartype kubelet_disk_type: str or ~azure.mgmt.containerservice.models.KubeletDiskType
279279
:ivar workload_runtime: Determines the type of workload a node can run. Known values are:
280-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
280+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
281281
:vartype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
282282
:ivar message_of_the_day: Message of the day for Linux nodes, base64-encoded. A base64-encoded
283283
string which will be written to /etc/motd after decoding. This allows customization of the
@@ -625,7 +625,7 @@ def __init__( # pylint: disable=too-many-locals
625625
data root, and Kubelet ephemeral storage. Known values are: "OS" and "Temporary".
626626
:paramtype kubelet_disk_type: str or ~azure.mgmt.containerservice.models.KubeletDiskType
627627
:keyword workload_runtime: Determines the type of workload a node can run. Known values are:
628-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
628+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
629629
:paramtype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
630630
:keyword message_of_the_day: Message of the day for Linux nodes, base64-encoded. A
631631
base64-encoded string which will be written to /etc/motd after decoding. This allows
@@ -4116,7 +4116,7 @@ class MachineKubernetesProfile(_serialization.Model):
41164116
:ivar node_name: The node name in the Kubernetes cluster.
41174117
:vartype node_name: str
41184118
:ivar workload_runtime: Determines the type of workload a node can run. Known values are:
4119-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
4119+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
41204120
:vartype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
41214121
:ivar artifact_streaming_profile: Configuration for using artifact streaming on AKS.
41224122
:vartype artifact_streaming_profile:
@@ -4180,7 +4180,7 @@ def __init__(
41804180
:keyword max_pods: The maximum number of pods that can run on a node.
41814181
:paramtype max_pods: int
41824182
:keyword workload_runtime: Determines the type of workload a node can run. Known values are:
4183-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
4183+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
41844184
:paramtype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
41854185
:keyword artifact_streaming_profile: Configuration for using artifact streaming on AKS.
41864186
:paramtype artifact_streaming_profile:
@@ -5633,7 +5633,7 @@ class ManagedClusterAgentPoolProfileProperties(_serialization.Model):
56335633
root, and Kubelet ephemeral storage. Known values are: "OS" and "Temporary".
56345634
:vartype kubelet_disk_type: str or ~azure.mgmt.containerservice.models.KubeletDiskType
56355635
:ivar workload_runtime: Determines the type of workload a node can run. Known values are:
5636-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
5636+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
56375637
:vartype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
56385638
:ivar message_of_the_day: Message of the day for Linux nodes, base64-encoded. A base64-encoded
56395639
string which will be written to /etc/motd after decoding. This allows customization of the
@@ -5969,7 +5969,7 @@ def __init__( # pylint: disable=too-many-locals
59695969
data root, and Kubelet ephemeral storage. Known values are: "OS" and "Temporary".
59705970
:paramtype kubelet_disk_type: str or ~azure.mgmt.containerservice.models.KubeletDiskType
59715971
:keyword workload_runtime: Determines the type of workload a node can run. Known values are:
5972-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
5972+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
59735973
:paramtype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
59745974
:keyword message_of_the_day: Message of the day for Linux nodes, base64-encoded. A
59755975
base64-encoded string which will be written to /etc/motd after decoding. This allows
@@ -6243,7 +6243,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties):
62436243
root, and Kubelet ephemeral storage. Known values are: "OS" and "Temporary".
62446244
:vartype kubelet_disk_type: str or ~azure.mgmt.containerservice.models.KubeletDiskType
62456245
:ivar workload_runtime: Determines the type of workload a node can run. Known values are:
6246-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
6246+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
62476247
:vartype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
62486248
:ivar message_of_the_day: Message of the day for Linux nodes, base64-encoded. A base64-encoded
62496249
string which will be written to /etc/motd after decoding. This allows customization of the
@@ -6585,7 +6585,7 @@ def __init__( # pylint: disable=too-many-locals
65856585
data root, and Kubelet ephemeral storage. Known values are: "OS" and "Temporary".
65866586
:paramtype kubelet_disk_type: str or ~azure.mgmt.containerservice.models.KubeletDiskType
65876587
:keyword workload_runtime: Determines the type of workload a node can run. Known values are:
6588-
"OCIContainer", "WasmWasi", and "KataMshvVmIsolation".
6588+
"OCIContainer", "WasmWasi", and "KataVmIsolation".
65896589
:paramtype workload_runtime: str or ~azure.mgmt.containerservice.models.WorkloadRuntime
65906590
:keyword message_of_the_day: Message of the day for Linux nodes, base64-encoded. A
65916591
base64-encoded string which will be written to /etc/motd after decoding. This allows

0 commit comments

Comments
 (0)