/inspektor-aroque

Simple test web application with HTTP Gateway

Primary LanguageGoMIT LicenseMIT

Inspektor

GitHub Actions Workflow Status Go Mod Version Docker Image Version (latest semver)

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"
  }
}

Development

How to Build and Run

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

License

MIT License