Skip to content

🧐 A rubber duck in your cluster, help to debug everything

License

Notifications You must be signed in to change notification settings

Anddd7/rubber-duck

Repository files navigation

rubber-duck

🧐 A rubber duck in your cluster, help to debug everything

Swiss Army Knife or Doraemon Pocke**

To debug a kubernetes cluster / component(middleware) / pod(business), it not similar to debug your local machine, you need to take care of the network, permission, and so on. This project is a collection of tools for k8s debugging, And classify and organize them according to scenarios, so hope they can be used right out-of-box.

Structure

It contains tools - e.g. oauth2-proxy, nginx, httpbin, with its artifacts, source-code, dockerfile and kustomization.

They, combined with kustomize in different scenarios, can be used to debug different problems.

.
├── component1
│   ├── src
│   └── kustomization
├── component2
│   └── kustomization
├── scenario
│   ├── scenario1
│   └── scenario2
├── README.md
└── LICENSE

Features

  • find a way to reduce the code of kustomization.yaml (or auto generate)
  • makefile, utilize the envsubs with kustomize
    • keep it simple stupid, declaritive first
  • tui engine for daily operations
  • curl as sidecar (kustomize patch)
  • gitclone as sidecar
    • ❗not safe
  • devcontainers
  • composed wiki page (patten of readme)
  • prod ready: add probe, image pull policy, resource limits ...

relavant tools

  • TUI
    • charmbracelet / bubbletea
    • hairyhenderson / gomplate
    • jedib0t / go-pretty
  • K8S
    • kustomize
  • shell
    • shdoc

Usages

About

🧐 A rubber duck in your cluster, help to debug everything

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published