A Container Image and YAML to mess around inside Kubernetes.
git
fish
shellopenssh-client
curl
dnsutils
jq
netcat
tcpdump
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
kubecontext
is pointing towards thenamespace
you want to install into. -
make k8s.up
-
Make sure your
kubecontext
is pointing towards thenamespace
you installedkeightool
into. -
make k8s.down
make k8s.shell
You 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.