The following tools are a combination of several tools that I created for debugging needs. For now there are several common tools that can be used including :
- curl
- mc (minio-client)
- ldapsearch
- nslookup
- etc
To run this project, make sure you have docker installed on your computer.
docker pull ajidiyantoro/utility
Run docker container
docker run -d --name utility ajidiyantoro/utility
If you want to run on a Kubernetes cluster, please see the example manifest in this repository.
kubectl create ns utility
kubectl apply -f statefullset.yaml
How to execute commands using a docker container. For example, I will do nslookup to domain.
docker exec -it utility nslookup example.com
docker exec -it utility ldapsearch -x -W -D "cn=admin,dc=ldap,dc=example,dc=com" -b "dc=ldap,dc=example,dc=com"
And if you are running on kubernetes, you can run the following command.
kubectl -n utility exec -it utility sh -- nslookup example.com
kubectl -n utility exec -it utility sh -- ldapsearch -x -W -D "cn=admin,dc=ldap,dc=example,dc=com" -b "dc=ldap,dc=example,dc=com"