Install kubesplit¶
Kubesplit is published on pypi.org and as a Docker image. Pick the method that fits your workflow.
With uv (recommended)¶
uv installs kubesplit as an isolated standalone tool:
Run it once without installing:
With pip¶
With mise¶
mise can manage kubesplit (and pin its version) through its pipx backend, which relies on uv when available:
Then:
With Docker¶
Use the published image when you don't want to install anything locally. Mount your working directory so kubesplit can read the input and write the output:
# Use latest
docker image pull looztra/kubesplit
# Split a file mounted from the current directory
docker container run -ti --rm \
-v "$(pwd):/code" -w /code \
looztra/kubesplit \
--input all-in-one.yml \
--output out
Read from STDIN instead of a file:
cat all-in-one.yml | docker container run -i --rm \
-v "$(pwd):/code" -w /code \
looztra/kubesplit \
--output out
Available tags are listed on Docker Hub.
Next steps¶
- Split your first file in the Getting started tutorial.
- See every input/output option in Split descriptors.