https://github.com/fl64/k8s-resource-watcher
https://github.com/fl64/k8s-resource-watcher
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fl64/k8s-resource-watcher
- Owner: fl64
- Created: 2024-12-22T18:13:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-23T13:17:02.000Z (over 1 year ago)
- Last Synced: 2025-12-26T09:58:02.824Z (5 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8s-resource-wathcer
This tool subscribes to the objects in the cluster specified in the config and monitors changes in the specified fields
It was written for fun, just to deal with the dynamic client.
## How to build
```bash
go build .
```
## How to run
```bash
# with custom config
k8s-resource-watcher -config xxx.yaml
# jq
k8s-resource-watcher | jq .obj -c
# yq
k8s-resource-watcher | yq -p json -P .obj
```