Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsevilla87/pod-scraper
https://github.com/rsevilla87/pod-scraper
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rsevilla87/pod-scraper
- Owner: rsevilla87
- Created: 2021-06-25T14:01:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T10:55:28.000Z (over 3 years ago)
- Last Synced: 2024-06-21T15:43:23.377Z (7 months ago)
- Language: Go
- Size: 4.12 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pod scraper
Pod scraper is an application that scrapes the pods discovered in the namespaces labeled with the value of -ns-label and/or pods labeled with the value of -pod-label.
This small application is meant to run from a pod as it scrapes the pod's internal IP and loads the client-go in-cluster configuration.```
$ ./pod-scraper -help
Usage of ./pod-scraper:
-code int
Expected status code (default 200)
-endpoint string
Target endpoint (default "/")
-ns-label string
Target namespace label
-pod-label string
Target pod label
-port int
Target port (default 80)
-scheme string
URL scheme, http or https (default "http")
-timeout duration
Request timeout (default 10s)
```