Categorygithub.com/Arnobkumarsaha/kubectl-utils
modulepackage
0.0.0-20241014055050-02e25ece34d4
Repository: https://github.com/arnobkumarsaha/kubectl-utils.git
Documentation: pkg.go.dev

# README

kubectl-utils

This is a helper tool for kubectl cli. It aims to implement the general-purpose utility features, those are currently missing.

Install

git clone https://github.com/ArnobKumarSaha/kubectl-utils.git
cd kubectl-utils
go install

Example Commands

rbac

To get the connections easily among serviceAccount(sa), role, roleBinding(rb), clusterRole(crole) & clusterRoleBinding(crb)

kubectl utils rbac sa -n bb-r5z2w --name kube-binder --typ "crb,role,rb"
kubectl utils rbac crole --name kube-binder --typ "crb,rb,sa" --oyaml
kubectl utils rbac role -n kube-system --name kube-proxy --typ "rb,sa" --oyaml

image

To get the image list (image, imageId, containerName), used in various resources in a ns.

kubectl utils image list -r ds,dep -n kube-system

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author