Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

   _____                                             
  / ___/____ ___  ______ _________  ____  ___  ____ _
  \__ \/ __ `/ / / / __ `/ ___/ _ \/ __ \/ _ \/ __ `/
 ___/ / /_/ / /_/ / /_/ / /  /  __/ /_/ /  __/ /_/ / 
/____/\__, /\__,_/\__,_/_/   \___/ .___/\___/\__, /  
        /_/                     /_/         /____/   

squarepeg

Run a docker run-style command as a Kubernetes Pod or Job, streaming its output like a local process and exiting with the container's exit code.

squarepeg run alpine echo "hello from a pod"

Install

pip install squarepeg

Docs

Full documentation lives in the wiki:

See also examples/config.yaml for a fully worked config file.

Development

pytest                        # unit tests
pytest -m integration         # integration tests, requires SQUAREPEG_INTEGRATION=1 and a kind cluster
ruff check .                  # lint

About

Run tools in Kubernetes clusters equivalently to `docker run ....`

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages