https://github.com/rsevilla87/pod-scraper
https://github.com/rsevilla87/pod-scraper
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rsevilla87/pod-scraper
- Owner: rsevilla87
- Created: 2021-06-25T14:01:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T10:55:28.000Z (almost 4 years ago)
- Last Synced: 2025-02-01T06:25:51.056Z (5 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)
```