{"id":23380795,"url":"https://github.com/softonic/kubewatch","last_synced_at":"2025-06-15T11:39:05.519Z","repository":{"id":66182991,"uuid":"83300231","full_name":"softonic/kubewatch","owner":"softonic","description":"Kubernetes API event watcher","archived":false,"fork":false,"pushed_at":"2023-03-31T04:56:58.000Z","size":13398,"stargazers_count":33,"open_issues_count":2,"forks_count":13,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-10T22:44:12.170Z","etag":null,"topics":["command-line","go","kingpin","kubernetes-monitoring"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/softonic/kubewatch/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softonic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-27T10:56:03.000Z","updated_at":"2024-10-24T04:12:11.000Z","dependencies_parsed_at":"2024-06-20T15:30:54.954Z","dependency_job_id":"79e1d2b8-beb1-47c2-b03b-eb20f1c26143","html_url":"https://github.com/softonic/kubewatch","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/softonic/kubewatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fkubewatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fkubewatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fkubewatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fkubewatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softonic","download_url":"https://codeload.github.com/softonic/kubewatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fkubewatch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259967771,"owners_count":22939509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","go","kingpin","kubernetes-monitoring"],"created_at":"2024-12-21T20:18:38.050Z","updated_at":"2025-06-15T11:39:05.484Z","avatar_url":"https://github.com/softonic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubewatch\n\n[![Version Widget]][Version] [![License Widget]][License] [![GoReportCard Widget]][GoReportCard] [![Travis Widget]][Travis] [![DockerHub Widget]][DockerHub]\n\n[Version]: https://github.com/softonic/kubewatch/releases\n[Version Widget]: https://img.shields.io/github/release/softonic/kubewatch.svg?maxAge=60\n[License]: http://www.apache.org/licenses/LICENSE-2.0.txt\n[License Widget]: https://img.shields.io/badge/license-APACHE2-1eb0fc.svg\n[GoReportCard]: https://goreportcard.com/report/softonic/kubewatch\n[GoReportCard Widget]: https://goreportcard.com/badge/softonic/kubewatch\n[Travis]: https://travis-ci.org/softonic/kubewatch\n[Travis Widget]: https://travis-ci.org/softonic/kubewatch.svg?branch=master\n[DockerHub]: https://hub.docker.com/r/softonic/kubewatch\n[DockerHub Widget]: https://img.shields.io/docker/pulls/softonic/kubewatch.svg\n\nKubernetes API event watcher.\n\n##### Install\n\n```\ngo get -u github.com/softonic/kubewatch\n```\n\n##### Shell completion\n\n```\neval \"$(kubewatch --completion-script-${0#-})\"\n```\n\n##### Help\n\n```\nkubewatch --help\nusage: kubewatch [\u003cflags\u003e] \u003cresources\u003e...\n\nWatches Kubernetes resources via its API.\n\nFlags:\n  -h, --help          Show context-sensitive help (also try --help-long and --help-man).\n      --kubeconfig    Absolute path to the kubeconfig file.\n      --namespace     Set the namespace to be watched.\n      --flatten       Whether to produce flatten JSON output or not.\n      --version       Show application version.\n\nArgs:\n  \u003cresources\u003e  Space delimited list of resources to be watched.\n```\n\n##### Out-of-cluster examples:\n\nWatch for `pods` and `events` in all `namespaces`:\n```\nkubewatch pods events | jq '.'\n```\n\nSame thing with docker:\n```\ndocker run -it --rm \\\n-v ~/.kube/config:/root/.kube/config \\\nsoftonic/kubewatch pods events | jq '.'\n```\n\nWatch for `services` events in namespace `foo`:\n```\nkubewatch --namespace foo services | jq '.'\n```\n\nSame thing with docker:\n```\ndocker run -it --rm \\\n-v ~/.kube/config:/root/.kube/config \\\nsoftonic/kubewatch --namespace foo services | jq '.'\n```\n\n##### In-cluster examples:\n\nRun `kubewatch` in the `monitoring` namespace and watch for `pods` in all namespaces:\n```\nkubectl --namespace monitoring run kubewatch --image softonic/kubewatch -- pods\n```\n\nRun `kubewatch` in the `monitoring` namespace and watch for `pods`, `deployments` and `events` objects in all namespaces. Also flatten the `json` output:\n```\nkubectl --namespace monitoring \\\nrun kubewatch --image softonic/kubewatch \\\n-- --flatten pods deployments events\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Fkubewatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftonic%2Fkubewatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Fkubewatch/lists"}