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

Add possibility to select osDisk SKU #231

Closed
timja opened this issue Feb 4, 2019 · 9 comments · Fixed by #263
Closed

Add possibility to select osDisk SKU #231

timja opened this issue Feb 4, 2019 · 9 comments · Fixed by #263

Comments

@timja
Copy link
Member

timja commented Feb 4, 2019

When using templates and managed disks, in Azure it is possible to define the osDisk type during creation (HDD, Standard_SSD, Premium_SSD).
It would great if one could define the type for each Azure Virtual Machine Template.

[JENKINS-55943] created by claasd

@timja
Copy link
Member Author

timja commented Feb 10, 2019

Thanks, I have put this in backlog.

by jieshe

@timja
Copy link
Member Author

timja commented Oct 11, 2019

Any updates? Any help needed? (I don't know the codebase, but I could try if it's similar to eg. osDiskSize)

by stefanscherer

@timja
Copy link
Member Author

timja commented Oct 11, 2019

Thanks,

I searched through the codebase and I think this variable 

"storageAccountType": "Standard_LRS",

in https://github.com/jenkinsci/azure-vm-agents-plugin/blob/dev/src/main/resources/customImageTemplateWithManagedDisk.json#L15 doesn't get changed.

 

by stefanscherer

@timja
Copy link
Member Author

timja commented Oct 11, 2019

I've also created GH-59752 which is about the same topic, having better disk performance for the OS disk. This would be even more interesting for us.

by stefanscherer

@timja
Copy link
Member Author

timja commented Oct 12, 2019

The "storageAccountType" is changed dynamically at

putVariableIfNotBlank(tmp, "storageAccountType", storageAccountType);
 . But it seems that not all the templates' OSdisk item has the "managedDisk" property. 

by jieshe

@timja
Copy link
Member Author

timja commented Jun 22, 2020

Any updates on this, not really sure this is tied to storage account type.

I believe storage account type is related to the disk storage type?

On Azure if I navigate to the disk resource the storage types available are:
Standard_HDD
Standard_SSD
Premium_SSD
Ultra Disk

on the storage account type dropdown I can only see Standard_LRS and Premium LRS
maybe this setting is not related, but if not can you provide a way to select the storage type in the disk that will be attached to the VM?

Thanks in advance, great plugin overall

by one_random_dev

@timja
Copy link
Member Author

timja commented Apr 3, 2021

This appears to already be available in the 'Storage Account Type' field

@timja timja closed this as completed Apr 3, 2021
@timja
Copy link
Member Author

timja commented Apr 3, 2021

Ah right looking at the last comment 'StandardSSD_LRS' is missing, ultra disk requires data disk which this plugin doesn't support

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 a pull request may close this issue.

1 participant