Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mjaow/listwatcher
golang library to list & watch etcd without kubernetes
https://github.com/mjaow/listwatcher
controller etcd informer kubernetes listwatch reflector
Last synced: about 1 month ago
JSON representation
golang library to list & watch etcd without kubernetes
- Host: GitHub
- URL: https://github.com/mjaow/listwatcher
- Owner: mjaow
- Created: 2019-10-20T09:21:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T04:13:04.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T09:41:27.909Z (almost 2 years ago)
- Topics: controller, etcd, informer, kubernetes, listwatch, reflector
- Language: Go
- Size: 229 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 无需k8s也能List & Watch
## 架构图
![架构图](listwatcher1829.jpg)
## 功能点
1. 使用简单,与k8s controller编写方式一致,却无需依赖k8s,直接对接etcd
## 待解决的点
1. 目前list & watch etcd的时候,先list,后watch,watch的时候不带版本。这时可能导致list过程中事件无法watch到。暂时没有好的思路来解决watch的时候从哪个revision开始,所以这块作为待优化点。后续参考k8s resourceversion管理方案
## 参考文献
1. https://github.com/kubernetes/client-go