Please note Kubernetes pipelines are disabled on Drone Cloud. This feature is only available when self-hosting
A kubernetes
pipeline executes pipeline steps as containers inside a Kubernetes Pod. Containers provide isolation allowing safe execution of concurrent pipelines on the same machine.
Example pipeline configuration:
|
|
The kind and type attributes define a Kubernetes pipeline.
|
|
The steps
section defines a series of shell commands. These commands are executed inside the Docker container as the Entrypoint
. If any command returns a non-zero exit code, the pipeline fails and exits.
|
|
To bind a non-default service account to a pipeline and allow for more fine-grained access to resouces, do the following:
|
|