karpenter

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCustomResources added in v0.13.0

func DeleteCustomResources(kubeContext string) error

func DeleteEC2NodeClass added in v0.13.0

func DeleteEC2NodeClass(client dynamic.Interface, kubeContext string) error

This uses cli-runtime's Resource Builder and kubectl's waiter to simplify the delete and wait Ideally this should use the Dynamic Client and a custom waiter

func DeleteNodePool added in v0.13.0

func DeleteNodePool(client dynamic.Interface) error

func NewApp

func NewApp() *application.Application

Types

type KarpenterOptions

type KarpenterOptions struct {
	application.ApplicationOptions

	AMIFamily        string
	DisableDrift     bool
	EnableSpotToSpot bool
	ExpireAfter      string
	Replicas         int
}

type NodePoolOptions added in v0.11.0

type NodePoolOptions struct {
	resource.CommonOptions
	*KarpenterOptions
}

Jump to

Keyboard shortcuts

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