taintremover

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 0 Imported by: 0

README

Taint Remover

Remove Spot Instance taints set by the cloud provider.

How to deploy to a cluster

Deploy CRD, RBAC, Controller

kubectl apply -k github.com/norseto/taint-remover/config/default?ref=release-0.1

Deploy CR for OCI(Oracle Cloud)

A sample is made for OCI.

kubectl apply -k github.com/norseto/taint-remover/config/samples?ref=release-0.1

You can examine the sample by kubectl kustomize

apiVersion: nodes.peppy-ratio.dev/v1alpha1
kind: TaintRemover
metadata:
  labels:
    app.kubernetes.io/created-by: taint-remover
    app.kubernetes.io/instance: taintremover-sample
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/name: taintremover
    app.kubernetes.io/part-of: taint-remover
  name: taintremover-sample
  namespace: taint-remover-system
spec:
  taints:
  - effect: NoSchedule
    key: oci.oraclecloud.com/oke-is-preemptible

Documentation

Index

Constants

View Source
const (
	RELEASE_VERSION = "0.3.0"
)

Variables

View Source
var GitVersion = ""

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the nodes v1alpha1 API group +kubebuilder:object:generate=true +groupName=nodes.peppy-ratio.dev
Package v1alpha1 contains API Schema definitions for the nodes v1alpha1 API group +kubebuilder:object:generate=true +groupName=nodes.peppy-ratio.dev
internal
taints
package taints implements utilities for working with taints
package taints implements utilities for working with taints

Jump to

Keyboard shortcuts

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