{"id":36908350,"url":"https://github.com/pidah/k8s-event-notifier","last_synced_at":"2026-01-12T15:55:41.707Z","repository":{"id":57600013,"uuid":"168325637","full_name":"pidah/k8s-event-notifier","owner":"pidah","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-03T10:45:12.000Z","size":2312,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-02T19:49:27.289Z","etag":null,"topics":["events","golang","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pidah.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":"2019-01-30T10:39:24.000Z","updated_at":"2022-02-03T10:37:54.000Z","dependencies_parsed_at":"2022-09-26T19:53:37.839Z","dependency_job_id":null,"html_url":"https://github.com/pidah/k8s-event-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pidah/k8s-event-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pidah%2Fk8s-event-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pidah%2Fk8s-event-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pidah%2Fk8s-event-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pidah%2Fk8s-event-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pidah","download_url":"https://codeload.github.com/pidah/k8s-event-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pidah%2Fk8s-event-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28341887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T15:50:39.657Z","status":"ssl_error","status_checked_at":"2026-01-12T15:49:49.297Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["events","golang","kubernetes","slack"],"created_at":"2026-01-12T15:55:41.598Z","updated_at":"2026-01-12T15:55:41.688Z","avatar_url":"https://github.com/pidah.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s-event-notifier\nA simple k8s events notifier to slack.\n\n# Overview\nThe kubernetes Events API streams a lot of information, useful to Operations folk and application Developers. This simple tool allows you to filter the events object based on [reason](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#event-v1-core) as follows:\n\n```\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: k8s-event-notifier\n  namespace: kube-system\n  labels:\n    app: k8s-event-notifier\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: k8s-event-notifier\n  template:\n    metadata:\n      labels:\n        app: k8s-event-notifier\n    spec:\n      containers:\n      - name: k8s-event-notifier\n        env:\n        - name: EVENT_FILTER\n          value: BackOff,Failed,FailedScheduling,Killing\n        - name: SLACK_API_URL\n          value: https://hooks.slack.com/services/RANDOM12/BFMADBNDS/0cYHvK1a9xviCsjakjawTMaa\n        image: ghcr.io/pidah/k8s-event-notifier:master\n        command: [\"/k8s-event-notifier\"]\n        args:\n        - --logtostderr\n        - -v=4\n         2\u003e\u00261\n```\n\nYou can pass a comma-separated list of event reasons to the EVENT_FILTER as shown above. Note that by default, if no EVENT_FILTER is specified, no event will be captured.\n\nOnce an interesting event is detected, a notification will be sent to slack using the specified slack incoming webhook url `SLACK_API_URL` as shown above.\n\n# Install\n\nCheckout this repo and you can use this example [deployment manifest file](https://github.com/pearsontechnology/k8s-event-notifier/blob/master/manifests/deployment.yaml) as follows:\n\n```\nkubectl create -f manifests/deployment.yaml\n```\n\nand a sample [RBAC manifest file](https://github.com/pearsontechnology/k8s-event-notifier/blob/master/manifests/rbac.yaml) if required:\n\n```\nkubectl create -f manifests/rbac.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpidah%2Fk8s-event-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpidah%2Fk8s-event-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpidah%2Fk8s-event-notifier/lists"}