Inspektor is a simple API tool that I use to test container and Kubernetes deplomeyents wheneven I'm doing infrastructure tests; it's modeled as a Golang API server that can extract useful information about it own environment. If you hit the /v1/inspect
endpoint, you should get a response similar to the following payload example:
{
"name": "inspektor",
"version": "v1",
"pod": {
"name": "inspektor-7d4b7f7b5f-8q9qj",
"namespace": "dev",
"ip": "172.10.5.24"
}
}
The development workflow requires a working Golang environment and make
installed. To build and run the application, just run the following commands:
$ make build
$ ./bin/inspektor
# or just run the following command
$ make run
MIT License