invalidation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

The SSM Invalidation controller is responsible for invalidating "latest" SSM parameters when they point to deprecated AMIs. This can occur when an EKS-optimized AMI with a regression is released, and the AMI team chooses to deprecate the AMI. Normally, SSM parameter cache entries expire after 24 hours to prevent a thundering herd upon a new AMI release, however Karpenter should react faster when an AMI is deprecated. This controller will ensure Karpenter reacts to AMI deprecations within it's polling period (30m).

func NewController

func NewController(ssmCache *cache.Cache, amiProvider amifamily.Provider) *Controller

func (*Controller) Name

func (c *Controller) Name() string

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context) (reconcile.Result, error)

func (*Controller) Register added in v0.37.6

func (c *Controller) Register(_ context.Context, m manager.Manager) error

Jump to

Keyboard shortcuts

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