Documentation
¶
Index ¶
- Variables
- func Apply(defaultMachinePlatform, machinePool *azure.MachinePool)
- func ComputeInstanceType(cloud azure.CloudEnvironment, region string, arch types.Architecture) string
- func ControlPlaneInstanceType(cloud azure.CloudEnvironment, region string, arch types.Architecture) string
- func SetPlatformDefaults(p *azure.Platform)
Constants ¶
This section is empty.
Variables ¶
var ( // AzurestackMinimumDiskSize is the minimum disk size value for azurestack. AzurestackMinimumDiskSize int32 = 128 // AzurestackMaximumDiskSize is the maximum disk size value for azurestack. AzurestackMaximumDiskSize int32 = 1023 )
Functions ¶
func Apply ¶
func Apply(defaultMachinePlatform, machinePool *azure.MachinePool)
Apply sets values from the default machine platform to the machinepool.
func ComputeInstanceType ¶
func ComputeInstanceType(cloud azure.CloudEnvironment, region string, arch types.Architecture) string
ComputeInstanceType sets the defaults for compute instances. Minimum requirements are 2 CPU's, 8GiB of ram, and 120GiB storage. D4s v3 gives us 4 CPU's, 16GiB ram and 32GiB of temporary storage DS3_v2 gives us 4 CPUs, 14GiB ram, and 28GiB of temporary storage.
func ControlPlaneInstanceType ¶
func ControlPlaneInstanceType(cloud azure.CloudEnvironment, region string, arch types.Architecture) string
ControlPlaneInstanceType sets the defaults for control plane instances. Minimum requirements are 4 CPU's, 16GiB of ram, and 120GiB storage. D8s_v3 gives us 8 CPU's, 32GiB ram and 64GiB of temporary storage This extra bump is done to prevent etcd from overloading DS4_v2 gives us 8 CPUs, 28GiB ram, and 56GiB of temporary storage.
func SetPlatformDefaults ¶
SetPlatformDefaults sets the defaults for the platform.
Types ¶
This section is empty.