4.3.5 • Published 2 months ago

screwdriver-executor-k8s-vm v4.3.5

Weekly downloads
49
License
BSD-3-Clause
Repository
github
Last release
2 months ago

Screwdriver Kubernetes VM Executor

Version Downloads Build Status Open Issues License

Kubernetes VM Executor plugin for Screwdriver

Deprecated

Please note that this code is no longer used by the screwdriver.cd team and has not been maintained in a while. You are welcome to use and/or contribute to it at your own risk.

Usage

npm install screwdriver-executor-k8s-vm

Initialization

The class provides a couple options that are configurable in the instantiation of this Executor

ParameterTypeDefaultDescription
configObjectConfiguration Object
config.kubernetesObject{}Kubernetes configuration Object
config.kubernetes.tokenString''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.hostString'kubernetes.defaults'The hostname for the Kubernetes cluster (kubernetes)
config.kubernetes.nodeSelectorsObjectObject representing node label-value pairs https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#step-one-attach-label-to-the-node
config.ecosystemObjectScrewdriver Ecosystem (ui, api, store, pushgateway, etc.)
config.launchImageString'screwdrivercd/launcher'Launcher image to use
config.launchVersionString'stable'Launcher container version to use (stable)
config.prefixString''Prefix to container names ("")
config.jobsNamespaceString'default'Kubernetes namespace where builds are running on
config.baseImageString''Base image used to start the VM
config.kubernetes.resources.memory.turboNumber16Value for TURBO memory (in GB)
config.kubernetes.resources.memory.highNumber12Value for HIGH memory (in GB)
config.kubernetes.resources.memory.lowNumber2Value for LOW memory (in GB)
config.kubernetes.resources.memory.microNumber1Value for MICRO memory (in GB)
config.kubernetes.resources.cpu.turboNumber12Value for TURBO CPU (in cores)
config.kubernetes.resources.cpu.highNumber6Value for HIGH CPU (in cores)
config.kubernetes.resources.cpu.lowNumber2Value for LOW CPU (in cores)
config.kubernetes.resources.cpu.microNumber1Value for MICRO CPU (in cores)
config.kubernetes.resources.disk.spaceStringValue for disk space label (e.g.: screwdriver.cd/disk)
config.kubernetes.resources.disk.speedStringValue for disk speed label (e.g.: screwdriver.cd/diskSpeed)

Methods

For more information on start, stop, and stats please see the executor-base-class.

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

4.3.5

2 months ago

4.3.4

2 months ago

4.3.3

1 year ago

4.3.2

3 years ago

4.3.1

3 years ago

4.3.0

3 years ago

4.2.0

3 years ago

4.1.0

4 years ago

4.0.0

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.10.0

5 years ago

2.9.1

5 years ago

2.9.0

5 years ago

2.8.5

5 years ago

2.8.4

5 years ago

2.8.3

5 years ago

2.8.2

5 years ago

2.8.1

5 years ago

2.8.0

5 years ago

2.7.5

5 years ago

2.7.4

6 years ago

2.7.3

6 years ago

2.7.2

6 years ago

2.7.1

6 years ago

2.7.0

6 years ago

2.6.1

6 years ago

2.6.0

6 years ago

2.5.4

6 years ago

2.5.3

6 years ago

2.5.2

6 years ago

2.5.1

6 years ago

2.5.0

6 years ago

2.4.3

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.4.0

6 years ago

2.3.3

6 years ago

2.3.2

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago