Skip to content

A Kubernetes / Helm utility to find deprecated deployed k8s resources

License

Notifications You must be signed in to change notification settings

eliasbokreta/deprek8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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