-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Use default skuname shared Azure Disk #80837
Conversation
Shared blob disks are now created with default skuname value if the referenced storage class possesses empty values for storageaccounttype and skuname. Prior, the provisioning process would fail if a new storage account needed to be created. This is because a storage account may not be created with an empty sotrageaccounttype.
Welcome @rmweir! |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hi @rmweir. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @brendandburns |
/assign @andyzhangx |
/ok-to-test |
@rmweir thanks for the fix. We are moving to use managed disk as default, new azure disk feature would be only supported for managed disk, so I would encourage to use managed disk. Is there any reason why you would still use blob based disk? |
flakey test mentioned here: #80528 |
/retest |
@andyzhangx thank you for your reply! I do not personally use it. I am from rancherlabs and we noticed that after version 1.11 users would could experience an error during PVC creation when leaving storageaccounttype/skuName blank (rancher/rancher#20315). Currently, the default for these fields is blank, yet that value is invalid for PVC creation. We feel this interferes with UX. This could be especially confusing when referencing storage classes that were made prior to 1.12, since the input is not invalid yet and worked at one time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, rmweir The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-kubernetes-integration |
flakey TestVolumeProvision also mentioned in flakey test mentioned here: #80528 |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind bug
What this PR does / why we need it:
The create blob disk is not being passed the normalized value for storageaccounttype. The normalization was removed because at the time the Go sdk being used did not support Ultra SSD. Now it does so normalization will not fail on Ultra SSD. Without normalizing the value an empty string can be passed which will cause storage account creation to fail.
Which issue(s) this PR fixes:
Fixes # #80836
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: