{"id":42702221,"url":"https://github.com/stenic/k8srestart","last_synced_at":"2026-01-29T14:22:22.199Z","repository":{"id":39650886,"uuid":"497607358","full_name":"stenic/k8srestart","owner":"stenic","description":"Restart pods after a set amount of time","archived":false,"fork":false,"pushed_at":"2022-06-26T07:25:15.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-22T01:09:25.893Z","etag":null,"topics":["kubernetes","lifecycle","pod"],"latest_commit_sha":null,"homepage":"","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/stenic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-05-29T14:00:40.000Z","updated_at":"2022-05-30T08:12:04.000Z","dependencies_parsed_at":"2022-08-23T13:50:15.513Z","dependency_job_id":null,"html_url":"https://github.com/stenic/k8srestart","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/stenic/k8srestart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenic%2Fk8srestart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenic%2Fk8srestart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenic%2Fk8srestart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenic%2Fk8srestart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stenic","download_url":"https://codeload.github.com/stenic/k8srestart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenic%2Fk8srestart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28879381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["kubernetes","lifecycle","pod"],"created_at":"2026-01-29T14:22:21.385Z","updated_at":"2026-01-29T14:22:22.176Z","avatar_url":"https://github.com/stenic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K8sRestart\n\n[![Last release](https://github.com/stenic/k8srestart/actions/workflows/release.yaml/badge.svg)](https://github.com/stenic/k8srestart/actions/workflows/release.yaml)\n[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/k8srestart)](https://artifacthub.io/packages/search?repo=k8srestart)\n\n\nk8srestart restarts pods and deployments after a set amount of time.\n\n## Behaviour\n\n`pods` will be deleted once the time has past.\n`deployments` will be triggered as a `rollout` and will restart following the deployment specifications.\n\n\n## Installation\n\n```sh\nhelm repo add k8srestart https://stenic.github.io/k8srestart/\nhelm install k8srestart --namespace mynamespace k8srestart/k8srestart\n```\n\n\n## Annotations\n\nYou can add these Kubernetes annotations to specific service objects to customize k8srestart's behaviour.\n\n`k8srestart.stenic.io/restartAfter`\n(string) Amount of seconds after which the pod/deployment will restart.\n\n\n## Build \u0026 run\n\n```\ndocker build -t k8srestart .\ndocker run -ti -p 8080:8080 -v ~/.kube:/home/nonroot/.kube k8srestart --interval=5 -v=2\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstenic%2Fk8srestart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstenic%2Fk8srestart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstenic%2Fk8srestart/lists"}