jetstack / binpak

A new way of visualising kubernetes workloads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binpak

Binpak is a very early idea for a new way of visualising Kubernetes workloads. It's aim is to be accessible and easy-to-use.

⚠️ The code in this repository is the result of a Jetstack internal hackday, and is untidy / not trivial to use. At this stage, use at your own risk! ⚠️

Building

Build the container with:

docker build --tag binpak:latest .

Running

Run the container locally using your kubeconfig with:

gcloud container clusters get-credentials ${CLUSTER_NAME} --zone ${ZONE}
docker run \
  --mount type=bind,source=$HOME/.kube/config,target=/.kube/config \
  --env KUBECONFIG=/.kube/config \
  --expose 8080 -p 8080:8080/tcp \
  binpak:latest

Then test with:

curl localhost:8080/info

UI

Build the UI container with:

docker build --tag binpak-ui:latest ./ui/.

Run this with:

docker run --expose 3000 -p 3000:3000/tcp binpak-ui:latest

Deploy

gcloud auth configure-docker europe-west1-docker.pkg.dev
./deploy.sh

About

A new way of visualising kubernetes workloads.

License:Apache License 2.0


Languages

Language:TypeScript 51.3%Language:Go 20.4%Language:SCSS 11.4%Language:HCL 5.5%Language:Shell 5.1%Language:Smarty 3.2%Language:Dockerfile 2.5%Language:JavaScript 0.7%