defaults

package
v0.91.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 2 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 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

func SetPlatformDefaults(p *azure.Platform)

SetPlatformDefaults sets the defaults for the platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL