defaults

package
v1.5.0-rc-2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 7 Imported by: 35 modules, 103 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

This section is empty.

Functions

func Apply

func Apply(defaultMachinePlatform, machinePool *aws.MachinePool)

Apply sets values from the default machine platform to the machinepool.

func InstanceTypes

func InstanceTypes(region string, arch types.Architecture, topology configv1.TopologyMode) []string

InstanceTypes returns a list of instance types, in decreasing priority order, which we should use for a given region. Default is m6i.xlarge, m5.xlarge, lastly c5d.2xlarge unless a region override is defined in defaultMachineTypes. c5d.2xlarge is in the most locations of availability for Local Zone offerings. https://aws.amazon.com/about-aws/global-infrastructure/localzones/features https://aws.amazon.com/ec2/pricing/on-demand/

func SetMachinePoolDefaults

func SetMachinePoolDefaults(pool *aws.MachinePool, role string)

SetMachinePoolDefaults sets the defaults for the platform.

func SetPlatformDefaults

func SetPlatformDefaults(p *aws.Platform)

SetPlatformDefaults sets the defaults for the platform.

func SupportedZones

func SupportedZones(zones []string) []string

SupportedZones returns the list of supported zones.

Types

This section is empty.

Jump to

Keyboard shortcuts

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