Skip to content

mohammedgqudah/kube-inspector-bot

Repository files navigation

kube-inspector-bot

A discord bot to inspect a kubernetes cluster (an experiment)

The motive behind this bot is to learn more about the kubernetes API server and service accounts.

Deploying - Kubernetes

Deployment Example

Testing - Locally

Start a proxy server

kubectl proxy 8000 --accept-hosts='^localhost$,^127\.0\.0\.1$,^\[::1\]$,^host.docker.internal$' &
# if using prometheus
kubectl port-forward svc/prometheus 8002:80 &

Start the bot

cp .env.example .env
docker compose up

Screenshots

image

image

image