Skip to content

Commit 6fb25c9

Browse files
authored
Merge branch 'main' into timmy/ws2025
2 parents 7184f03 + ce952e4 commit 6fb25c9

323 files changed

Lines changed: 51628 additions & 28687 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
/src/ip-group/ @necusjz @kairu-ms @jsntcy
9292

93-
/src/connectedk8s/ @bavneetsingh16 @deeksha345 @anagg929 @atchutbarli
93+
/src/connectedk8s/ @bavneetsingh16 @deeksha345 @anagg929 @atchutbarli @bgriddaluru
9494

9595
/src/storagesync/ @jsntcy
9696

.github/policies/resourceManagement.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1976,6 +1976,9 @@ configuration:
19761976
mentionees:
19771977
- ambhatna
19781978
- deepthiprasad
1979+
- akning-ms
1980+
- junsu-msft
1981+
- coffeemug
19791982
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
19801983
assignMentionees: False
19811984
- if:
@@ -2316,6 +2319,9 @@ configuration:
23162319
mentionees:
23172320
- ambhatna
23182321
- deepthiprasad
2322+
- akning-ms
2323+
- junsu-msft
2324+
- coffeemug
23192325
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
23202326
assignMentionees: False
23212327
- if:
@@ -2329,6 +2335,9 @@ configuration:
23292335
- daeunyim
23302336
- rajsell
23312337
- deepthiprasad
2338+
- akning-ms
2339+
- junsu-msft
2340+
- coffeemug
23322341
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
23332342
assignMentionees: False
23342343
- if:

src/aks-preview/HISTORY.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ To release a new version, please select a new version number (usually plus 1 to
1111

1212
Pending
1313
+++++++
14+
* Add option `Windows2025` to `--os-sku` for `az aks nodepool add`.
1415

1516
18.0.0b39
1617
+++++++
17-
* Add option `Windows2025` to `--os-sku` for `az aks nodepool add`.
18+
* Add option `AzureLinuxOSGuard` and `AzureLinux3OSGuard` to `--os-sku` for `az aks nodepool add` and `az aks nodepool update`.
1819
* Add machine command `az aks machine add` to add a machine to an existing machine pool.
1920
* Add blue-green upgrade strategy support for AKS node pools:
2021
- `az aks nodepool add/update/upgrade`: Add `--upgrade-strategy` parameter to switch between rolling and blue-green nodepool upgrades.

src/aks-preview/azext_aks_preview/_consts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
CONST_OS_SKU_AZURELINUX3 = "AzureLinux3"
4343
CONST_OS_SKU_UBUNTU2204 = "Ubuntu2204"
4444
CONST_OS_SKU_UBUNTU2404 = "Ubuntu2404"
45+
CONST_OS_SKU_AZURELINUXOSGUARD = "AzureLinuxOSGuard"
46+
CONST_OS_SKU_AZURELINUX3OSGUARD = "AzureLinux3OSGuard"
4547

4648
# vm set type
4749
CONST_VIRTUAL_MACHINE_SCALE_SETS = "VirtualMachineScaleSets"

src/aks-preview/azext_aks_preview/_help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@
19281928
short-summary: The OS Type. Linux or Windows. Windows not supported yet for "VirtualMachines" VM set type.
19291929
- name: --os-sku
19301930
type: string
1931-
short-summary: The os-sku of the agent node pool. Ubuntu, Ubuntu2204, Ubuntu2404, CBLMariner, AzureLinux or AzureLinux3 when os-type is Linux, default is Ubuntu if not set; Windows2019, Windows2022, Windows2025, or WindowsAnnual when os-type is Windows, the current default is Windows2022 if not set.
1931+
short-summary: The os-sku of the agent node pool. Ubuntu, Ubuntu2204, Ubuntu2404, CBLMariner, AzureLinux, AzureLinux3, AzureLinuxOSGuard, or AzureLinux3OSGuard when os-type is Linux, default is Ubuntu if not set; Windows2019, Windows2022, Windows2025, or WindowsAnnual when os-type is Windows, the current default is Windows2022 if not set.
19321932
- name: --enable-fips-image
19331933
type: bool
19341934
short-summary: Use FIPS-enabled OS on agent nodes.

src/aks-preview/azext_aks_preview/_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
CONST_OS_SKU_AZURELINUX3,
9696
CONST_OS_SKU_CBLMARINER,
9797
CONST_OS_SKU_MARINER,
98+
CONST_OS_SKU_AZURELINUXOSGUARD,
99+
CONST_OS_SKU_AZURELINUX3OSGUARD,
98100
CONST_OS_SKU_UBUNTU,
99101
CONST_OS_SKU_UBUNTU2204,
100102
CONST_OS_SKU_UBUNTU2404,
@@ -283,6 +285,8 @@
283285
CONST_OS_SKU_MARINER,
284286
CONST_OS_SKU_UBUNTU2204,
285287
CONST_OS_SKU_UBUNTU2404,
288+
CONST_OS_SKU_AZURELINUXOSGUARD,
289+
CONST_OS_SKU_AZURELINUX3OSGUARD,
286290
]
287291
node_os_skus_add = node_os_skus_create + [
288292
CONST_OS_SKU_WINDOWS2019,
@@ -296,6 +300,8 @@
296300
CONST_OS_SKU_UBUNTU,
297301
CONST_OS_SKU_UBUNTU2204,
298302
CONST_OS_SKU_UBUNTU2404,
303+
CONST_OS_SKU_AZURELINUXOSGUARD,
304+
CONST_OS_SKU_AZURELINUX3OSGUARD,
299305
]
300306
scale_down_modes = [CONST_SCALE_DOWN_MODE_DELETE, CONST_SCALE_DOWN_MODE_DEALLOCATE]
301307
workload_runtimes = [

src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku_azurelinux3osguard.yaml

Lines changed: 2259 additions & 0 deletions
Large diffs are not rendered by default.

src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku_azurelinuxosguard.yaml

Lines changed: 1560 additions & 0 deletions
Large diffs are not rendered by default.

src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3029,6 +3029,90 @@ def test_aks_nodepool_add_with_ossku_azurelinux3(self, resource_group, resource_
30293029
self.cmd(
30303030
'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()])
30313031

3032+
@AllowLargeResponse()
3033+
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus2euap')
3034+
def test_aks_nodepool_add_with_ossku_azurelinuxosguard(self, resource_group, resource_group_location):
3035+
aks_name = self.create_random_name('cliakstest', 16)
3036+
node_pool_name = self.create_random_name('c', 6)
3037+
node_pool_name_second = self.create_random_name('c', 6)
3038+
self.kwargs.update({
3039+
'resource_group': resource_group,
3040+
'name': aks_name,
3041+
'node_pool_name': node_pool_name,
3042+
'node_pool_name_second': node_pool_name_second,
3043+
'ssh_key_value': self.generate_ssh_keys()
3044+
})
3045+
3046+
create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \
3047+
'--nodepool-name {node_pool_name} -c 1 ' \
3048+
'--ssh-key-value={ssh_key_value}'
3049+
self.cmd(create_cmd, checks=[
3050+
self.check('provisioningState', 'Succeeded'),
3051+
])
3052+
3053+
# add nodepool with AzureLinuxOSGuard OS SKU and security features
3054+
self.cmd('aks nodepool add '
3055+
'--resource-group={resource_group} '
3056+
'--cluster-name={name} '
3057+
'--name={node_pool_name_second} '
3058+
'--node-vm-size Standard_D2s_v5 '
3059+
'--os-sku AzureLinuxOSGuard '
3060+
'--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureLinuxOSGuardPreview '
3061+
'--tags SkipLinuxAzSecPack=true '
3062+
'--enable-fips-image '
3063+
'--enable-secure-boot '
3064+
'--enable-vtpm',
3065+
checks=[
3066+
self.check('provisioningState', 'Succeeded'),
3067+
self.check('osSku', 'AzureLinuxOSGuard'),
3068+
])
3069+
3070+
# delete
3071+
self.cmd(
3072+
'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()])
3073+
3074+
@AllowLargeResponse()
3075+
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus2euap')
3076+
def test_aks_nodepool_add_with_ossku_azurelinux3osguard(self, resource_group, resource_group_location):
3077+
aks_name = self.create_random_name('cliakstest', 16)
3078+
node_pool_name = self.create_random_name('c', 6)
3079+
node_pool_name_second = self.create_random_name('c', 6)
3080+
self.kwargs.update({
3081+
'resource_group': resource_group,
3082+
'name': aks_name,
3083+
'node_pool_name': node_pool_name,
3084+
'node_pool_name_second': node_pool_name_second,
3085+
'ssh_key_value': self.generate_ssh_keys()
3086+
})
3087+
3088+
create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \
3089+
'--nodepool-name {node_pool_name} -c 1 ' \
3090+
'--ssh-key-value={ssh_key_value}'
3091+
self.cmd(create_cmd, checks=[
3092+
self.check('provisioningState', 'Succeeded'),
3093+
])
3094+
3095+
# add nodepool with AzureLinux3OSGuard OS SKU and security features
3096+
self.cmd('aks nodepool add '
3097+
'--resource-group={resource_group} '
3098+
'--cluster-name={name} '
3099+
'--name={node_pool_name_second} '
3100+
'--node-vm-size Standard_D2s_v5 '
3101+
'--os-sku AzureLinux3OSGuard '
3102+
'--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureLinuxOSGuardPreview '
3103+
'--tags SkipLinuxAzSecPack=true '
3104+
'--enable-fips-image '
3105+
'--enable-secure-boot '
3106+
'--enable-vtpm',
3107+
checks=[
3108+
self.check('provisioningState', 'Succeeded'),
3109+
self.check('osSku', 'AzureLinux3OSGuard'),
3110+
])
3111+
3112+
# delete
3113+
self.cmd(
3114+
'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()])
3115+
30323116
@AllowLargeResponse()
30333117
@AKSCustomResourceGroupPreparer(
30343118
random_name_length=17, name_prefix="clitest", location="westus2"

src/amlfs/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
1.2.0
7+
+++++
8+
Added: az amlfs auto-import create/update/list/show/delete commands for automatically importing data from Blob Storage to AMLFS
9+
610
1.1.0
711
+++++
812
Added: az amlfs import create/update/list/show/delete commands for importing data from Blob Storage to AMLFS

0 commit comments

Comments
 (0)