clusterautoscaler

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeGroupFormatter         string = "%s-nodegroup-%d"
	NodeGroupArgumentFormatter string = "--nodes=%d:%d:%s"
)

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterAutoscaler

type ClusterAutoscaler struct {
	K8sClient k8sclient.EKS
	Config    *eksconfig.Config
}

ClusterAutoscaler is an addon that installs Cluster Autoscaler

func (*ClusterAutoscaler) Apply

func (c *ClusterAutoscaler) Apply() (err error)

Apply installs the addon

func (*ClusterAutoscaler) Delete

func (c *ClusterAutoscaler) Delete() (err error)

Delete removes the addon

func (*ClusterAutoscaler) IsEnabled

func (c *ClusterAutoscaler) IsEnabled() bool

IsEnabled returns true if enabled

Jump to

Keyboard shortcuts

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