Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibrokethecloud/rancher-events
https://github.com/ibrokethecloud/rancher-events
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ibrokethecloud/rancher-events
- Owner: ibrokethecloud
- License: mit
- Created: 2017-05-11T00:11:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T14:09:47.000Z (over 7 years ago)
- Last Synced: 2024-07-31T07:15:36.091Z (5 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rancher - Rancher Events - Extract Docker events from Rancher (Rancher 1.0 / Community projects 1.0)
README
## Using rancher-events
The rancher-events is based on the go-rancher bindings to extract docker events from rancher.
One of the possible ways to get rancher events is querying the docker daemon directly however this module leverages the rancher events stream to extract the same information.
The benefit of this approach for me is in the fact that the code can be run in a container in the rancher environment and can schedule on any host on the environment.
The keys are injected into the container using the labels described as follows:
https://docs.rancher.com/rancher/v1.0/en/rancher-services/service-accounts/