Sign inSign up

qbituniverse/kube-toolbox

By qbituniverse

•Updated almost 3 years ago

Set of useful tools which can be used to work with Kubernetes via kubectl command.

Image
0

2.0K

qbituniverse/kube-toolbox repository overview

⁠kube-toolbox

kube-toolbox is available on: GitHub⁠ - DockerHub⁠ - QbitUniverse⁠

⁠Description

kube-toolbox is full of useful tools which can be used to work with Kubernetes via kubectl command.

All resources in kube-toolbox are free, public and constantly updated with new functionality.

⁠How to use it?

⁠Run kube-toolbox as Pod

kubectl run kube-toolbox --image=qbituniverse/kube-toolbox --generator=run-pod/v1

⁠Exec into a running instance of kube-toolbox Pod

kubectl exec -it kube-toolbox -- /bin/ash

⁠Expose kube-toolbox Pod as Service

kubectl expose pod kube-toolbox --port=80 --name=kube-toolbox

⁠Delete kube-toolbox Pod

kubectl delete pod kube-toolbox

⁠Delete kube-toolbox Service

kubectl delete svc kube-toolbox

⁠What's inside?

kube-toolbox is based on node alpine base image.

⁠api

This is NodeJS Api running inside the Pod.

PortEndpointResponse
80/api/ping"pong"
80/api/clientClient Information
80/api/serverServer Information
80/api/timestampLocal Date+Time in GMT Format
⁠Usage
curl http://<DNS>/api/ping
curl http://<IP>/api/ping
⁠Examples
curl http://kube-toolbox/api/ping
curl http://10.1.1.188/api/timestamp

⁠nslookup

Facility to check DNS entry.

⁠Usage
nslookup <DNS>
⁠Examples
nslookup kube-toolbox

⁠curl

Facility to make HTTP calls from within the Pod.

⁠Usage
curl http://<URL>
⁠Examples
curl http://www.google.com

⁠hostname

Facility to request host information.

⁠Usage
hostname
hostname -i

⁠whoami

Facility to find your user status.

⁠Usage
whoami

kube-toolbox is available on: GitHub⁠ - DockerHub⁠ - QbitUniverse⁠

Tag summary

Content type

Image

Digest

sha256:c66619d33…

Size

58.4 MB

Last updated

almost 3 years ago

docker pull qbituniverse/kube-toolbox