azure-kubernetes-status icon indicating copy to clipboard operation
azure-kubernetes-status copied to clipboard

Virtual Machine Scale Set Support

Open mogthesprog opened this issue 8 years ago • 7 comments

Hi Cole,

This repo is great by the way, good to see a sort of road map or to-do list! :)

I'm wondering what's needed here in terms of supporting Scale Sets? I'm just having a look at some of the code in the Azure Cloud Provider and the only code i can see is this. Is there some work that needs to be done in the way persistent disks are managed too? I'm interested in picking this up :)

mogthesprog avatar Jan 12 '17 20:01 mogthesprog

@mogthesprog VMSS doesn't support attaching individual disks to VMs in the VMSS. They're adding this feature in the coming months.

Currently thinking is that we will create "azureV2" cloud provider with the following big improvements:

  • uses VMSS
  • uses ManagedDisks
  • uses 1 LoadBalancer per Service rather than a single LB object shared with each Service attached to it

Those are effectively all non-backward-compatible. This is something we'll be doing in the coming months. There are a number of things here that need to be done:

  • fork the cloudprovider, convert the AS semantics to VMSS semantics
  • change how load balancers are created
  • rewrite the various disk attachment codes (likely via forking them and creating AzureDiskV2, but I'm not sure 100% about that yet) to use Managed Disks

None of these are in flight quite yet. It's not a super high priority until platform support for disk attachment is available, but we're thinking about starting on it so we're ready when disk support appears.

Let me know if that's enough illumination.

colemickens avatar Jan 12 '17 21:01 colemickens

Thanks for the detailed reply. This sounds great, tried to find info on the web about Managed Disks but can't find much - I've asked one of the CSAs working with us for more details and see if he can get anything for me.

Looking at this, I think the LB work might be the logical place to start since (i don't think) we're waiting on any platform development? If so then I can raise an issue in kube, fork the provider and have a first stab.

When support is added for VMSS, is the plan to remove AS support or aim to support both?

mogthesprog avatar Jan 15 '17 17:01 mogthesprog

Given that it would be implemented as a "AzureV2" sort of thing, I don't see any reason that "Azure" wouldn't live on (likely as deprecated) for some time.

colemickens avatar Jan 17 '17 18:01 colemickens

cool :) Cheers

I'll have a bash at either LB or VMSS this week. I'll post back once i've started so someone else can pick up the other if the feeling takes them.

mogthesprog avatar Jan 18 '17 18:01 mogthesprog

Great. Feel free to ping me on Slack if I can help unblock you at any point.

colemickens avatar Jan 18 '17 19:01 colemickens

Guys, do you have any updates on this topic?

allanharris avatar Jun 12 '17 19:06 allanharris

Nothing has changed here, so no update to offer.

On Jun 12, 2017 2:33 PM, "Alexander Kulik" [email protected] wrote:

Guys, do you have any updates on this topic?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/colemickens/azure-kubernetes-status/issues/17#issuecomment-307895818, or mute the thread https://github.com/notifications/unsubscribe-auth/AAT9dJirqT7rivxudd8GIucml04kOjePks5sDZKGgaJpZM4LiONG .

colemickens avatar Jun 12 '17 19:06 colemickens