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 Azure virtual machine availability sets (VMAS) #514

Merged
merged 9 commits into from
Dec 29, 2017
Prev Previous commit
Next Next commit
Support clusters without windows nodes
feiskyer committed Dec 29, 2017
commit e2da77059f3c1ca4b24fc8234ecb30253ea69b90
4 changes: 3 additions & 1 deletion cluster-autoscaler/cloudprovider/azure/azure_agent_pool.go
Original file line number Diff line number Diff line change
@@ -111,7 +111,9 @@ func (as *AgentPool) preprocessParameters() {
as.parameters["kubeConfigPrivateKey"] = map[string]string{"value": as.config.KubeConfigPrivateKey}
as.parameters["servicePrincipalClientId"] = map[string]string{"value": as.config.AADClientID}
as.parameters["servicePrincipalClientSecret"] = map[string]string{"value": as.config.AADClientSecret}
as.parameters["windowsAdminPassword"] = map[string]string{"value": as.config.WindowsAdminPassword}
if as.config.WindowsAdminPassword != "" {
as.parameters["windowsAdminPassword"] = map[string]string{"value": as.config.WindowsAdminPassword}
}
}

// MinSize returns minimum size of the node group.