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 support for OS Disk resize in VMSS #818

Closed
bpoland opened this issue Oct 23, 2017 · 2 comments
Closed

Add support for OS Disk resize in VMSS #818

bpoland opened this issue Oct 23, 2017 · 2 comments

Comments

@bpoland
Copy link

bpoland commented Oct 23, 2017

Hi there,

Wondering if it would be possible to add support for resizing an OS disk when deploying a Virtual Machine Scale Set.

The standalone Virtual machine supports an OsDiskSizeInMB property:

type VirtualMachineSize struct {

However, the Scale Set is missing that property:

type VirtualMachineScaleSetOSDisk struct {

I have been able to deploy a scale set with an ARM template specifying a disk size property like this (using API version 2017-03-30) so I know it's possible:

                    "storageProfile": {
                        "osDisk": {
                            "caching": "ReadWrite",
                            "createOption": "FromImage",
                            "diskSizeGB": "10",
                            "name": "[concat(variables('vmssName'), '-osp')]",
                            "osType": "Linux",
                            "image": {
                                "uri": "[variables('vmssImageUri')]"
                            }
                        }
                    },

Hope that makes sense -- thanks!

@marstr
Copy link
Member

marstr commented Oct 23, 2017

Howdy @bpoland, thanks for your submission! This sort of issue must be fixed upstream of us a bit, and I've added an issue to the Open API Specs repository which quotes this one. (You can see a link directly above this comment.)

I'm going to close this issue in favor of the specs repository one, but please feel free to continue commenting and following along there!

@marstr marstr closed this as completed Oct 23, 2017
@bpoland
Copy link
Author

bpoland commented Oct 23, 2017

Okay, thanks for your help :)

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants