eliasbokreta / deprek8

A Kubernetes / Helm utility to find deprecated deployed k8s resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

deprek8

A CLI tool that allows to list deprecated deployed Kubernetes resources from Helm or simply k8s objects.

CI workflow

Table of Contents
  1. About The Project
  2. Usage
  3. Setup

About The Project

deprek8 is a CLI tool that :

  • List deployed Helm Charts containing deprecated Kubernetes objects
  • List deprecated Kubernetes resources deployed in a cluster

Usage

  • Helm

List deprecated Helm charts resources :

deprek8 helm [--output outputType] [--export]

-o, --output string              Choose type of output (json|yaml|text) (default: "text")
-e, --export bool                Save output to csv file (default: false)
  • Kubernetes

List deprecated Kubernetes resources :

deprek8 kube [--output outputType] [--export]

-o, --output string              Choose type of output (json|yaml|text) (default: "text")
-e, --export bool                Save output to csv file (default: false)

Setup

  • Build locally :

    make build
    
  • Build and install :

    make install
    

    This command will build and install the binary into /usr/local/bin. It will also create a .deprek8 directory in the user's home directory with the config.yaml config file.

  • Uninstall :

    make uninstall
    

About

A Kubernetes / Helm utility to find deprecated deployed k8s resources

License:MIT License


Languages

Language:Go 95.0%Language:Makefile 5.0%