{"id":22511128,"url":"https://github.com/renderedtext/agent-k8s-controller","last_synced_at":"2025-08-13T11:35:15.178Z","repository":{"id":219278256,"uuid":"730837523","full_name":"renderedtext/agent-k8s-controller","owner":"renderedtext","description":"A Kubernetes controller that runs Semaphore jobs in Kubernetes.","archived":false,"fork":false,"pushed_at":"2024-12-19T14:15:04.000Z","size":20771,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-02T02:28:37.851Z","etag":null,"topics":[],"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/renderedtext.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-12T19:31:33.000Z","updated_at":"2024-12-19T14:10:26.000Z","dependencies_parsed_at":"2024-02-02T19:29:47.789Z","dependency_job_id":"1cfa766d-406e-4416-8f34-318426ed9951","html_url":"https://github.com/renderedtext/agent-k8s-controller","commit_stats":null,"previous_names":["renderedtext/agent-k8s-controller"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fagent-k8s-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fagent-k8s-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fagent-k8s-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fagent-k8s-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renderedtext","download_url":"https://codeload.github.com/renderedtext/agent-k8s-controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949553,"owners_count":20698916,"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":[],"created_at":"2024-12-07T02:09:06.257Z","updated_at":"2025-03-28T00:40:38.665Z","avatar_url":"https://github.com/renderedtext.png","language":"Go","readme":"# Semaphore agent controller for Kubernetes\n\nA Kubernetes controller that runs Semaphore jobs in Kubernetes.\n\n## Installation\n\n### Requirements\n\n- A Kubernetes cluster\n- A Semaphore API token\n\n### Configuration\n\n| Environment variable                   | Description |\n|----------------------------------------|-------------|\n| SEMAPHORE_ENDPOINT                     | The Semaphore control plane endpoint, e.g. `\u003cyour-organization\u003e.semaphoreci.com`. |\n| KUBERNETES_NAMESPACE                   | The Kubernetes namespace where the resources for Semaphore jobs will be created. By default, the default namespace is used. |\n| SEMAPHORE_AGENT_IMAGE                  | The [Semaphore agent](https://github.com/semaphoreci/agent) image to use when creating agents. By default, `semaphoreci/agent:latest`. |\n| SEMAPHORE_AGENT_LOG_LEVEL              | The log level for the [Semaphore agent](https://github.com/semaphoreci/agent). By default, `info`. |\n| MAX_PARALLEL_JOBS                      | The max number of Semaphore jobs to run in parallel. By default, 10. |\n| KUBERNETES_SERVICE_ACCOUNT             | The Kubernetes service account to attach to the pods created for the [Semaphore agent](https://github.com/semaphoreci/agent). |\n| SEMAPHORE_AGENT_LABELS                 | A comma-separated list of Kubernetes labels to apply on all resources created by the controller. |\n| SEMAPHORE_AGENT_STARTUP_PARAMETERS     | Any additional [Semaphore agent configuration parameters](https://docs.semaphoreci.com/ci-cd-environment/configure-self-hosted-agent/) to pass to the agents being created. |\n| KEEP_FAILED_JOBS_FOR                   | A [duration string](https://pkg.go.dev/time#ParseDuration) indicating how long to keep failed Kubernetes jobs. For example, `5m`. Default is 0. |\n| KEEP_SUCCESSFUL_JOBS_FOR               | A [duration string](https://pkg.go.dev/time#ParseDuration) indicating how long to successful failed Kubernetes jobs. For example, `5m`. Default is 0. |\n| JOB_START_TIMEOUT                      | A [duration string](https://pkg.go.dev/time#ParseDuration) indicating how long to wait for a Kubernetes job created to start; after the timeout has passed, the Kubernetes job is deleted. Default is `5m`. |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenderedtext%2Fagent-k8s-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenderedtext%2Fagent-k8s-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenderedtext%2Fagent-k8s-controller/lists"}