Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AKS] az aks create/update: Support Blob CSI driver #24404

Merged
merged 6 commits into from
Oct 26, 2022
Merged

Conversation

cvvz
Copy link
Contributor

@cvvz cvvz commented Oct 26, 2022

Related command

az aks create [--enable-blob-driver]
az aks update [--disable-blob-driver] [--enable-blob-driver]

Description

With the feature, customers can enable/disable the Blob CSI Drivers in their clusters on demand.

Testing Guide

pyttest test_managed_cluster_decorator.py

AZURE_CLI_TEST_MODULES=acs azdev test test_aks_create_with_standard_blob_csi_driver --discover --live
AZURE_CLI_TEST_MODULES=acs azdev test test_aks_create_and_update_with_blob_csi_driver --discover --live

History Notes

[AKS] az aks create/update: Add new parameters --enable-blob-driver and --disable-blob-driver to enable/disable Blob CSI Driver


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 26, 2022

acs

@cvvz cvvz changed the title support Blob CSI driver [AKS]support Blob CSI driver Oct 26, 2022
@yonzhan yonzhan added this to the Nov 2022 (2022-12-06) milestone Oct 26, 2022
@cvvz cvvz changed the title [AKS]support Blob CSI driver [AKS] support Blob CSI driver Oct 26, 2022
Copy link
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Queued a pipeline to test 2 newly added test cases.

@FumingZhang
Copy link
Member

GA feature from aks-preview, previous PR #5027.

@zhoxing-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@zhoxing-ms zhoxing-ms changed the title [AKS] support Blob CSI driver [AKS] az aks create/update: Support Blob CSI driver Oct 26, 2022
@zhoxing-ms
Copy link
Contributor

@cvvz Could you please resolve the code style issue?

@@ -6423,6 +6423,97 @@ def test_aks_create_with_standard_csi_drivers(self, resource_group, resource_gro
self.is_empty(),
])

@AllowLargeResponse()
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='centraluseuap', preserve_default_location=True)
def test_aks_create_with_standard_blob_csi_driver(self, resource_group, resource_group_location):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Queued a pipeline to test and generate recordings for newly added cases.

@@ -6423,6 +6423,97 @@ def test_aks_create_with_standard_csi_drivers(self, resource_group, resource_gro
self.is_empty(),
])

@AllowLargeResponse()
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='centraluseuap', preserve_default_location=True)
def test_aks_create_with_standard_blob_csi_driver(self, resource_group, resource_group_location):
Copy link
Contributor

@zhoxing-ms zhoxing-ms Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def get_subscription(self, subscription=None):  # take id or name
subscriptions = self.load_cached_subscriptions()
if not subscriptions:
      raise CLIError(_AZ_LOGIN_MESSAGE)
      knack.util.CLIError: Please run 'az login' to setup account.

Please upload the recording yaml files for those new tests. Otherwise, CI tasks will fail due to missing yaml file

@andyzhangx
Copy link
Contributor

@zhoxing-ms can you make sure the cli command branch is cut off after this PR merged? this is a critical AKS feature, we want to ship it in 11-01 cli command release, thanks.

@zhoxing-ms
Copy link
Contributor

can you make sure the cli command branch is cut off after this PR merged? this is a critical AKS feature, we want to ship it in 11-01 cli command release, thanks.

@andyzhangx OK, we will try our best to merge it today, so as to catch up the release for this sprint

@zhoxing-ms zhoxing-ms merged commit 98f9b8d into Azure:dev Oct 26, 2022
@zhoxing-ms
Copy link
Contributor

@andyzhangx This PR has been merged, it can be released in this sprint (11-01)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants