A Container Image and YAML to mess around inside Kubernetes.
curldnsutilsgitjqnetcatopenssh-clientpostgresql-clientpython 3.11redis-toolstcpdump
The most up-to-date list can be found inside the Dockerfile
The Docker Image is available on Docker Hub as gzur/keightool
-
NAMESPACE=default kubectl apply --namespace $NAMESPACE -f https://raw.githubusercontent.com/gzur/keightool/main/yaml/keightool.yaml -
NAMESPACE=default kubectl exec --namespace $NAMESPACE -it $(kubectl get pods -l app=keightool -o jsonpath='{@.items[0].metadata.name}') -- bash
-
You should now be in an interactive a shell, running in a pod, inside your cluster.
- An active kube context against the cluster you're cowboying 🤠
kubectl
-
Clone this repo.
-
Make sure your
kubecontextis pointing towards thenamespaceyou want to install into. -
make k8s.up
-
Make sure your
kubecontextis pointing towards thenamespaceyou installedkeightoolinto. -
make k8s.down
make k8s.shellYou should now have a shell inside the running keightool pod.
- Push a tag which matches the content of the VERSION file.
- Github Actions takes care of the rest.