Kubernetes Executor plugin for Screwdriver
This is an executor for the Screwdriver continuous delivery solution that interacts with Kubernetes.
npm install screwdriver-executor-k8s
The class provides a couple options that are configurable in the instantiation of this Executor
Parameter | Type | Default | Description |
---|---|---|---|
config | Object | Configuration Object | |
config.kubernetes | Object | {} | Kubernetes configuration Object |
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 .) |
config.kubernetes.host | String | 'kubernetes.defaults' | The hostname for the Kubernetes cluster (kubernetes) |
config.kubernetes.serviceAccount | String | 'default' | The service account to use in Kubernetes (default) |
config.ecosystem | Object | Screwdriver Ecosystem (ui, api, store, etc.) | |
config.launchVersion | String | 'stable' | Launcher container version to use (stable) |
config.prefix | String | '' | Prefix to container names ("") |
config.jobsNamespace | String | 'default' | Kubernetes namespace where builds are running on |
For more information on start
, stop
, and stats
please see the executor-base-class.
npm test
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.