kubectl-reap
kubectl-reap copied to clipboard
kubectl plugin that deletes unused Kubernetes resources
(Similiar to #120) I've found that ConfigMaps used by CronJobs for eg. env vars are not detected as in-use. ```yaml apiVersion: batch/v1 kind: CronJob metadata: name: test spec: jobTemplate: spec:...
Getting these warnings on every brew operation. ``` Warning: Calling bottle :unneeded is deprecated! There is no replacement. Please report this issue to the micnncim/kubectl-reap tap (not Homebrew/brew or Homebrew/core):...
Ingress resources can use secrets to store TLS certificates, such as those managed by Cert Manager. Kubectl-reap currently detects these secrets are not in use and suggests removing them. Eg...
I am using https://github.com/external-secrets/kubernetes-external-secrets to manage secrets via AWS Secrets Manager. Do you have any plans to support such custom resources with this plugin? I am glad if external-secrets will...
what is the purpose of removing pods? Do they have to start successful after deletion ? If pod in pending waiting some resource, it won't help it if pod in...
```console $ go build cmd/kubectl-reap/main.go ... go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 # golang.org/x/sys/unix ../../.asdf/installs/golang/1.19.1/packages/pkg/mod/golang.org/x/[email protected]/unix/syscall_darwin.1_13.go:29:3: //go:linkname must refer to declared function or variable ../../.asdf/installs/golang/1.19.1/packages/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable...
Hi, I'm trying to use your tool however, I'm unable with all the suggested ways in the readme. Krew, I can see it in the list already however: ``` kubectl...
When I run `brew install kubectl-reap` the output is: `Error: micnncim/kubectl-reap/kubectl-reap: wrong number of arguments (given 1, expected 0)`