Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffgbutler/http-snooper
https://github.com/jeffgbutler/http-snooper
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeffgbutler/http-snooper
- Owner: jeffgbutler
- License: mit
- Created: 2024-07-09T14:21:42.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T17:26:30.000Z (4 months ago)
- Last Synced: 2024-07-09T21:43:29.375Z (4 months ago)
- Language: Java
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP Snooper
This application will display HTTP request attributes to the screen for debugging. The OCI image is published
at Docker Hub here: https://hub.docker.com/repository/docker/jeffgbutler/http-snooper## Deploy to Docker
```shell
docker run -p8080:8080 jeffgbutler/http-snooper:0.0.1-SNAPSHOT
```Hit the application at http://localhost:8080
## Deploy to Kubernetes
Sample Kubernetes configuration files are in the `kubernetes` subdirectory of this repository. They can be used as is,
or modified for your environment. In particular, the `ingress.yaml` file will likely need changing for your
environment.Create a deployment:
```shell
kubectl apply -f kubernetes/deployment.yaml
```Expose the deployment with NodePort:
```shell
kubectl apply -f kubernetes/service.yaml
```(Optional) Configure ingress (the included example assumes the NGINX ingress controller is installed in the cluster):
```shell
kubectl apply -f kubernetes/ingress.yaml
```Access the application either through the NodePort, or through your configured ingress.