karpenter-deprovision-controller

command module
v0.0.0-...-1711f34 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Karpenter Deprovision Controller

Overview

This tool is designed to interact with Kubernetes clusters using the Karpenter autoscaler and assists with node lifecycle management. It focuses on managing expired nodes with pods that block deprovisioning, ensuring that blocking annotations are removed from pods to allow for smooth node termination.

Features

  • Annotation Management: Removes annotations from pods that block node deprovisioning (karpenter.sh/do-not-disrupt=true) during the configured disruption schedule.

Running locally

  1. Clone the repository:
    git clone https://github.com/jukie/karpenter-deprovision-controller
    cd karpenter-deprovision-controller
    go build .
    KUBECONFIG=/path/to/config ./karpenter-deprovision-controller --dry-run=true
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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