Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (36 loc) · 1.02 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.02 KB

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