acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

Support vmss in kubernetes deployment

Open JiangtianLi opened this issue 8 years ago • 9 comments

Is this a request for help?:


Is this an ISSUE or FEATURE REQUEST? (choose one): Feature

What version of acs-engine?:


Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)

What happened: Kubernetes currently only supports availability set in agent pool.

What you expected to happen: Support vmss in kubernetes agent pool.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

JiangtianLi avatar Mar 07 '18 02:03 JiangtianLi

@feiskyer

JiangtianLi avatar Mar 07 '18 02:03 JiangtianLi

vmss support will be added in kubernetes v1.10. To support vmss, acs-engine should ensure

  • master nodes are still running in AvailabilitySet
  • agent nodes are running in ScaleSet

And /etc/kubernetes/azure.json should be changed for both master and agent nodes:

{
  ...
  "vmType":"vmss",
  // remove primaryAvailabilitySetName
  "primaryScaleSetName":"<vmss-name>"
}

feiskyer avatar Mar 07 '18 02:03 feiskyer

What is weird is that the kubernetes/autoscaler documentation references VMSS enabled kubernetes clusters... am I missing something or is this the edge or are they referring to some sort of managed cluster that runs vmss 😜

timkock avatar Mar 07 '18 19:03 timkock

@timkock Yep, Azure support in autoscaler is also targeted v1.10, should be released together.

Meanwhile, some customers are already validating features with their self-deployed clusters.

feiskyer avatar Mar 08 '18 02:03 feiskyer

@feiskyer Could I check if it is going to support cross-zone ScaletSets when you mentioned "agent nodes are running in ScaleSet"

yfernando avatar Mar 15 '18 15:03 yfernando

Could I check if it is going to support cross-zone ScaletSets when you mentioned "agent nodes are running in ScaleSet"

@yfernando It should support this, but I haven't validated it yet.

feiskyer avatar Mar 16 '18 07:03 feiskyer

I'm a bit confused, and sorry if this is a silly question, but are there changes that need to happen in ACS-Engine to support VMSS, or is this simply waiting for Kubernetes 1.10?

I want to run the Kubernetes autoscaler on a VMSS cluster created via ACS-Engine and I'm trying to figure out what configuration I need to set aside from targeting 1.10

forrestcoward avatar Mar 19 '18 22:03 forrestcoward

Ah okay. Nevermind. I tried to target VMSS but got:

INFO[0000] Error returned by LoadContainerService: VirtualMachineScaleSets are not supported with Kubernetes since Kubernetes requires the ability to attach/detach disks.  To fix specify "AvailabilityProfile":"AvailabilitySet"

forrestcoward avatar Mar 20 '18 01:03 forrestcoward

@forrestcoward We are waiting both. @JiangtianLi will work on acs-engine part and kubernetes v1.10 will be released in next few days.

feiskyer avatar Mar 20 '18 03:03 feiskyer