Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultClusterDescription is the default name for a cluster DefaultClusterDescription = "Unnamed cluster" // DefaultMasterReplicas is the default number of master node replicas DefaultMasterReplicas = 3 // DefaultMasterInstanceType is the default master instance type DefaultMasterInstanceType = "m5.xlarge" // FirstHARelease is the first GS release for AWS that supports HA Masters FirstHARelease = "11.4.0" )
View Source
const ( // annotations should taken from https://github.com/giantswarm/apiextensions/blob/master/pkg/annotation/aws.go // once the service is migrate to apiextensions v3 AnnotationUpdateMaxBatchSize = "alpha.aws.giantswarm.io/update-max-batch-size" AnnotationUpdatePauseTime = "alpha.aws.giantswarm.io/update-pause-time" )
Variables ¶
This section is empty.
Functions ¶
func IsHAVersion ¶
IsHAVersion returns whether a given releaseVersion supports HA Masters
func IsValidMasterReplicas ¶
IsValidMasterReplicas returns whether a given number is a valid number of Master node replicas
func MaxBatchSizeIsValid ¶ added in v2.2.0
MaxBatchSizeIsValid will validate the value into valid maxBatchSize valid values can be either: an integer bigger than 0 a float between 0 < x <= 1 float value is used as ratio of a total worker count
func PauseTimeIsValid ¶ added in v2.2.0
PauseTimeIsValid checks if the value is in proper ISO 8601 duration format
func ValidMasterReplicas ¶
func ValidMasterReplicas() []int
ValidMasterReplicas are the allowed number of master node replicas
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package awsmachinedeployment intercepts write activity to AWSMachineDeployment objects.
|
Package awsmachinedeployment intercepts write activity to AWSMachineDeployment objects. |
Package awsmachinedeployment intercepts write activity to AWSMachineDeployment objects.
|
Package awsmachinedeployment intercepts write activity to AWSMachineDeployment objects. |
Click to show internal directories.
Click to hide internal directories.