mirror of https://github.com/kubernetes/kops.git
Merge pull request #15081 from hakman/azure_experiments
azure: Use Basic SKU for the API LB
This commit is contained in:
commit
8a3a64206d
|
@ -149,7 +149,7 @@ func (*LoadBalancer) RenderAzure(t *azure.AzureAPITarget, a, e, changes *LoadBal
|
|||
lb := network.LoadBalancer{
|
||||
Location: to.StringPtr(t.Cloud.Region()),
|
||||
Sku: &network.LoadBalancerSku{
|
||||
Name: network.LoadBalancerSkuNameBasic,
|
||||
Name: network.LoadBalancerSkuNameStandard,
|
||||
},
|
||||
LoadBalancerPropertiesFormat: &network.LoadBalancerPropertiesFormat{
|
||||
FrontendIPConfigurations: &[]network.FrontendIPConfiguration{
|
||||
|
|
|
@ -116,7 +116,10 @@ func (*PublicIPAddress) RenderAzure(t *azure.AzureAPITarget, a, e, changes *Publ
|
|||
Name: to.StringPtr(*e.Name),
|
||||
PublicIPAddressPropertiesFormat: &network.PublicIPAddressPropertiesFormat{
|
||||
PublicIPAddressVersion: network.IPv4,
|
||||
PublicIPAllocationMethod: network.Dynamic,
|
||||
PublicIPAllocationMethod: network.Static,
|
||||
},
|
||||
Sku: &network.PublicIPAddressSku{
|
||||
Name: network.PublicIPAddressSkuNameStandard,
|
||||
},
|
||||
Tags: e.Tags,
|
||||
}
|
||||
|
|
|
@ -699,6 +699,7 @@ func setupZones(opt *NewClusterOptions, cluster *api.Cluster, allZones sets.Stri
|
|||
}
|
||||
zoneToSubnetMap[zoneName] = subnet
|
||||
}
|
||||
return zoneToSubnetMap, nil
|
||||
|
||||
case api.CloudProviderAWS:
|
||||
if len(opt.Zones) > 0 && len(opt.SubnetIDs) > 0 {
|
||||
|
|
Loading…
Reference in New Issue