{"id":22351901,"url":"https://github.com/screwdriver-cd/executor-k8s","last_synced_at":"2025-08-12T06:12:38.652Z","repository":{"id":9348079,"uuid":"61776192","full_name":"screwdriver-cd/executor-k8s","owner":"screwdriver-cd","description":"Kubernetes Executor for Screwdriver","archived":false,"fork":false,"pushed_at":"2025-07-17T18:18:42.000Z","size":368,"stargazers_count":5,"open_issues_count":3,"forks_count":11,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-30T07:52:11.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/screwdriver-executor-k8s","language":"JavaScript","has_issues":false,"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/screwdriver-cd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2016-06-23T05:24:56.000Z","updated_at":"2025-07-17T18:16:45.000Z","dependencies_parsed_at":"2023-10-26T18:02:36.578Z","dependency_job_id":"1dbca4c9-a3af-45ca-9fdb-04ba5796eafe","html_url":"https://github.com/screwdriver-cd/executor-k8s","commit_stats":{"total_commits":169,"total_committers":38,"mean_commits":4.447368421052632,"dds":0.863905325443787,"last_synced_commit":"07822122d0fb4f4b6d7b2136a6e21a5d8783130b"},"previous_names":[],"tags_count":173,"template":false,"template_full_name":null,"purl":"pkg:github/screwdriver-cd/executor-k8s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fexecutor-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fexecutor-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fexecutor-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fexecutor-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/screwdriver-cd","download_url":"https://codeload.github.com/screwdriver-cd/executor-k8s/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fexecutor-k8s/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270011187,"owners_count":24511901,"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-08-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2024-12-04T12:16:24.460Z","updated_at":"2025-08-12T06:12:38.609Z","avatar_url":"https://github.com/screwdriver-cd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Screwdriver Kubernetes Executor\n[![Version][npm-image]][npm-url] ![Downloads][downloads-image] [![Build Status][status-image]][status-url] [![Open Issues][issues-image]][issues-url] ![License][license-image]\n\n\u003e Kubernetes Executor plugin for Screwdriver\n\nThis is an executor for the Screwdriver continuous delivery solution that interacts with Kubernetes.\n\n## Usage\n\n```bash\nnpm install screwdriver-executor-k8s\n```\n\n### Initialization\nThe class provides a couple options that are configurable in the instantiation of this Executor\n\n| Parameter        | Type  | Default    | Description |\n| :-------------   | :---- | :----------| :-----------|\n| config        | Object | | Configuration Object |\n| config.kubernetes | Object | {} | Kubernetes configuration Object |\n| config.kubernetes.token | String | '' | The JWT token used for authenticating to the Kubernetes cluster. (If not passed in, we will read from `/var/run/secrets/kubernetes.io/serviceaccount/token`.) |\n| config.kubernetes.host | String | 'kubernetes.defaults' | The hostname for the Kubernetes cluster (kubernetes) |\n| config.kubernetes.serviceAccount | String | 'default' | The service account to use in Kubernetes (default) |\n| config.ecosystem | Object | | Screwdriver Ecosystem (ui, api, store, etc.) |\n| config.launchImage | String | 'screwdrivercd/launcher' | Launcher image to use |\n| config.launchVersion | String | 'stable' | Launcher container version to use (stable) |\n| config.prefix | String | '' | Prefix to container names (\"\") |\n| config.kubernetes.dnsPolicy | String | 'ClusterFirst' | DNS Policy for build pod |\n| config.kubernetes.imagePullPolicy | String | 'Always' | Image Pull Policy for build pod |\n| config.kubernetes.imagePullSecretName | String | '' | Name of image pull secret |\n| config.kubernetes.jobsNamespace | String | 'default' | Kubernetes namespace where builds are running on |\n| config.kubernetes.nodeSelectors | Object | {} | Object representing node label-value pairs |\n| config.kubernetes.preferredNodeSelectors | Object | {} | Object representing preferred node label-value pairs |\n| config.kubernetes.podLabels | Object | { app: 'screwdriver', tier: 'builds', sdbuild: buildContainerName } | Object representing custom pod label key-value pairs |\n| config.kubernetes.resources.memory.turbo | Number | 16 | Value for TURBO memory (in GB) |\n| config.kubernetes.resources.memory.high | Number | 12 | Value for HIGH memory (in GB) |\n| config.kubernetes.resources.memory.low | Number | 2 | Value for LOW memory (in GB) |\n| config.kubernetes.resources.memory.micro | Number | 1 | Value for MICRO memory (in GB) |\n| config.kubernetes.resources.cpu.turbo | Number | 12 | Value for TURBO CPU (in cores) |\n| config.kubernetes.resources.cpu.high | Number | 6 | Value for HIGH CPU (in cores) |\n| config.kubernetes.resources.cpu.low | Number | 2 | Value for LOW CPU (in cores) |\n| config.kubernetes.resources.cpu.micro | Number | 0.5 | Value for MICRO CPU (in cores) |\n| config.kubernetes.runtimeClass | String | '' | Runtime class |\n\n\n### Methods\n\nFor more information on `start`, `stop`, `verify` and `stats` please see the [executor-base-class].\n\n## Testing\n\n```bash\nnpm test\n```\n\n## License\n\nCode licensed under the BSD 3-Clause license. See LICENSE file for terms.\n\n[npm-image]: https://img.shields.io/npm/v/screwdriver-executor-k8s.svg\n[npm-url]: https://npmjs.org/package/screwdriver-executor-k8s\n[downloads-image]: https://img.shields.io/npm/dt/screwdriver-executor-k8s.svg\n[license-image]: https://img.shields.io/npm/l/screwdriver-executor-k8s.svg\n[issues-image]: https://img.shields.io/github/issues/screwdriver-cd/screwdriver.svg\n[issues-url]: https://github.com/screwdriver-cd/screwdriver/issues\n[status-image]: https://cd.screwdriver.cd/pipelines/28/badge\n[status-url]: https://cd.screwdriver.cd/pipelines/28\n[executor-base-class]: https://github.com/screwdriver-cd/executor-base\n[screwdriver job-tools]: https://github.com/screwdriver-cd/job-tools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fexecutor-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrewdriver-cd%2Fexecutor-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fexecutor-k8s/lists"}