{"id":31646171,"url":"https://github.com/codefresh-io/kube-watch","last_synced_at":"2025-10-07T05:20:51.606Z","repository":{"id":25840608,"uuid":"106095705","full_name":"codefresh-io/kube-watch","owner":"codefresh-io","description":"Simple tool to get webhooks on Kubernetes cluster events","archived":false,"fork":false,"pushed_at":"2022-06-14T18:17:13.000Z","size":14754,"stargazers_count":20,"open_issues_count":1,"forks_count":5,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-25T14:59:42.693Z","etag":null,"topics":["cluster","events","k8s","kube-watch","kubernetes","kubernetes-cluster","namespace","watch","webhook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codefresh-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-07T12:20:31.000Z","updated_at":"2023-03-17T14:39:19.000Z","dependencies_parsed_at":"2022-09-11T16:21:26.252Z","dependency_job_id":null,"html_url":"https://github.com/codefresh-io/kube-watch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codefresh-io/kube-watch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fkube-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fkube-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fkube-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fkube-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codefresh-io","download_url":"https://codeload.github.com/codefresh-io/kube-watch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fkube-watch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722757,"owners_count":26034463,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cluster","events","k8s","kube-watch","kubernetes","kubernetes-cluster","namespace","watch","webhook"],"created_at":"2025-10-07T05:20:39.558Z","updated_at":"2025-10-07T05:20:51.593Z","avatar_url":"https://github.com/codefresh-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This project was deprecated: use [IRIS](https://github.com/olegsu/iris)\n\n[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=codefresh-io\u0026repoName=kube-watch\u0026branch=master\u0026pipelineName=kube-watch\u0026accountName=codefresh-inc\u0026type=cf-1)]( https://g.codefresh.io/repositories/codefresh-io/kube-watch/builds?filter=trigger:build;branch:master;service:59df83bcd2ab0a000130a8b9~kube-watch)\n# Kube watch\nSimple tool that watch on events from your Kubernetes cluster and push them as webhooks\n\n# Install \n`go get github.com/codefresh-io/kube-watch`\n\n# Run\nGet you test hebhook url from https://webhook.site\nRun `kube-watch run --url {url}` to start watching on events across all namespaces from you current-context in `~/.kube/config`\n\n## More functionallity\n`kube watch run --help`\n```\n   --kube-config value        (default: \"$HOME/.kube/config\")\n   --url value                Url where to sent the hook\n   --slack-channel-url value  Sent event to slack channel url\n   --watch-type value         Type of event to watch on (Warning, Normal) (default: \"ALL\")\n   --watch-kind value         Kind of K8S resource to watch on (Pod, Service). Alias not supported (default: \"ALL\")\n```\n\n# Run in docker container\n`docker run -v ~/.kube/config:/config codefresh/kubewatch run --url {url}  --kube-config /config`\n\n\n# Install kube-watch in your cluster\nRun `kube-watch install` will apply new deployment in the default namespace of cluster in current-context.\nOptional to pass any flag same as `kube-watch run` and they will be applied\nThe applied deployment looks like:\n```yaml\napiVersion: extensions/v1beta1\nkind: Deployment\nmetadata:\n  labels:\n    app: kube-watch\n  name: kube-watch\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: kube-watch\n  template:\n    metadata:\n      labels:\n        app: kube-watch\n    spec:\n      containers:\n      - args:\n        - run\n        - --in-cluster\n        # And all flags passed to `kube-watch run` command\n        image: codefresh/kubewatch:master\n        imagePullPolicy: Always\n        name: kube-watch\n```\n# Todo:\n* [ ] Tests!\n* [ ] Supoort install on different namespaces\n* [ ] Add update/uninstall commands to update the image and remove the deployment\n* [ ] Support more integrations\n* [ ] Support more complexity\n* [ ] Support secret to be added in request header\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fkube-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefresh-io%2Fkube-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fkube-watch/lists"}