{"id":30981057,"url":"https://github.com/jsenon/k8sslackevent","last_synced_at":"2026-05-04T11:32:21.395Z","repository":{"id":64307088,"uuid":"140896558","full_name":"jsenon/k8sslackevent","owner":"jsenon","description":"Watch k8s event and publish to slack","archived":false,"fork":false,"pushed_at":"2019-04-24T19:21:00.000Z","size":4281,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-12T08:16:29.163Z","etag":null,"topics":["audit","event","kubernetes","slack"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsenon.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}},"created_at":"2018-07-13T22:02:30.000Z","updated_at":"2019-11-30T06:32:31.000Z","dependencies_parsed_at":"2023-01-15T11:00:32.251Z","dependency_job_id":null,"html_url":"https://github.com/jsenon/k8sslackevent","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jsenon/k8sslackevent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsenon%2Fk8sslackevent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsenon%2Fk8sslackevent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsenon%2Fk8sslackevent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsenon%2Fk8sslackevent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsenon","download_url":"https://codeload.github.com/jsenon/k8sslackevent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsenon%2Fk8sslackevent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279333813,"owners_count":26150530,"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-17T02:00:07.504Z","response_time":56,"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":["audit","event","kubernetes","slack"],"created_at":"2025-09-12T08:07:58.640Z","updated_at":"2025-10-17T11:17:13.404Z","avatar_url":"https://github.com/jsenon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K8S Event Watcher\n\n[![CircleCI](https://circleci.com/gh/jsenon/demo-istio.svg?style=svg)](https://circleci.com/gh/jsenon/k8sslackevent)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jsenon/demo-istio)](https://goreportcard.com/report/github.com/jsenon/k8sslackevent)\n\nAn event watcher for Kubernetes Environment, and publish on slack\n\n## Func\n\n- Pod Event Watcher on default and kube-system namespace\n- Node Event Watcher\n- Event Watcher\n- Publisher on slack\n- Watch OOMKilled Event and retrieve pod name\n- External or Internal k8s api\n\n### Build\n\n### Usage\n\nRight now pod watcher is available on default and kube-system namespaces\n\nCreate Webhook slack application and export URL\n\n```sh\nexport SLACK_URL=https://hooks.slack.com/xxx\n```\n\nFor internal k8s:\n\n```sh\nk8sslackevent serve --api internal\n```\n\nFor External k8s, its based on current context in your .kube/config file:\n\n```sh\nk8sslackevent serve --api external\n```\n\n### Env\n\n- `SLACK_URL` = Slack URL Hook\n\n### TIPS\n\nIf you receive `cannot execute binary file: Exec format error`\n\nCompile with  `CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go`\n\nAnd build `docker build -t jsenon/k8sslackevent:vx.x .`\n\n### TODO\n\n- [ ] Specify Pod watcher namespace as flag\n- [ ] Add Event bus integration","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsenon%2Fk8sslackevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsenon%2Fk8sslackevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsenon%2Fk8sslackevent/lists"}