cluster

package
v1.2.26-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OidcConfigIdFlag      = "oidc-config-id"
	ClassicOidcConfigFlag = "classic-oidc-config"

	MinReplicasSingleAZ = 2
	MinReplicaMultiAZ   = 3
)
View Source
const (
	HostPrefixMin = 23
	HostPrefixMax = 26
)

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "cluster",
	Short: "Create cluster",
	Long:  "Create cluster.",
	Example: `  # Create a cluster named "mycluster"
  rosa create cluster --cluster-name=mycluster

  # Create a cluster in the us-east-2 region
  rosa create cluster --cluster-name=mycluster --region=us-east-2`,
	Run: run,
}

Functions

This section is empty.

Types

type ResourceLimits added in v1.2.26

type ResourceLimits struct {
	MaxNodesTotal int
	Cores         ResourceRange
	Memory        ResourceRange
}

type ResourceRange added in v1.2.26

type ResourceRange struct {
	Min int
	Max int
}

type ScaleDownConfig added in v1.2.26

type ScaleDownConfig struct {
	Enabled              bool
	UnneededTime         string
	UtilizationThreshold float64
	DelayAfterAdd        string
	DelayAfterDelete     string
	DelayAfterFailure    string
}

Jump to

Keyboard shortcuts

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