https://github.com/pytimer/kube-events-watcher
This repository watch the event resource in the Kubernetes, which takes those events and push them to a specified sink.
https://github.com/pytimer/kube-events-watcher
Last synced: 5 months ago
JSON representation
This repository watch the event resource in the Kubernetes, which takes those events and push them to a specified sink.
- Host: GitHub
- URL: https://github.com/pytimer/kube-events-watcher
- Owner: pytimer
- License: apache-2.0
- Created: 2019-12-23T02:46:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T05:46:38.000Z (over 5 years ago)
- Last Synced: 2024-06-20T08:00:51.887Z (almost 2 years ago)
- Language: Go
- Size: 56.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kube-events-watcher
This repository watch the event resource in the Kubernetes, which takes those events and push them to a specified sink.
## Usage
`./kube-events-watcher --kubeconfig kubeconfig.conf --sink=elasticsearch:http://elasticsearch:9200?maxRetries=5&index=events`
### Docker
`docker run -it --rm pytimer/kube-events-watcher:1.0.0 -h`
```sh
Usage of /kube-events-watcher:
--kubeconfig string absolute path to the kubeconfig file.
Optional, if the kubeconfig empty, this controller is running in a kubernetes cluster.
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s)
--resync-period duration Watcher reflector resync period (default 1m0s)
--sink *flags.Uri Sink type to save the kubernetes events. e.g. --sink=elasticsearch:http://elasticsearch.com:9200
-v, --v int log level for V logs
pflag: help requested
```