Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozansz/utils
Small utility containers for testing and stuff. I put here the programs that I say "I wish there was a container that does X"
https://github.com/ozansz/utils
container containers docker go golang kubernetes tools utility
Last synced: 22 days ago
JSON representation
Small utility containers for testing and stuff. I put here the programs that I say "I wish there was a container that does X"
- Host: GitHub
- URL: https://github.com/ozansz/utils
- Owner: ozansz
- Created: 2023-04-28T14:33:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-07T09:19:48.000Z (8 months ago)
- Last Synced: 2024-10-05T07:02:33.610Z (about 1 month ago)
- Topics: container, containers, docker, go, golang, kubernetes, tools, utility
- Language: Go
- Homepage: https://go.sazak.io/utils
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Small Utility Containers
...for testing and stuff. I put here the programs that I say "I wish there was a container that does X" more than once to myself, to be containerized.
## Containers
### request-forever
Send infinitely many HTTP requests to the specified URL, with the specified method, in specified interval, etc.
#### Usage
Below is a basic Kubernetes deployment config to use the program:
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: request-forever-deployment
labels:
app: request-forever
spec:
replicas: 1
selector:
matchLabels:
app: request-forever
template:
metadata:
labels:
app: request-forever
spec:
containers:
- name: request-forever-container
image: ghcr.io/ozansz/utils/request-forever:latest
args:
- "--url"
- "https://example.org"
- "--method"
- "GET"
- "--interval"
- "10s"
- "--http-timeout"
- "1m"
command:
- "/ko-app/request-forever"
```