Skip to content

command line parameter for specifying kubernetes volumes

Status update: 2024-11-06

@DarrenEastman I have elected to not implement this feature as proposed. The rationale is as follows:

Kubernetes volumes are more complex than Docker volumes, configuring those through CLI would be cumbersome. We should focus on ways to allow extending the config.toml more easily rather than CLI arguments IMO. Such as #30849.

source comment thread

Description

Hello, with the latest release we finally got volume support for the kubernetes runner. With the other runners like Docker, we can specify volume mounts with a command line parameter. This is option is currently missing for the kubernetes runner.

Example from Docker: --docker-volumes Bind mount a volumes [$DOCKER_VOLUMES]

Can this also be added for kubernetes? This would be highly appreciated.

Edited by Darren Eastman