Once you create a docker directory for your script with
kub_create_task()
, this function is able to build it and push it to the
appropriate cloud diretory. Aditionally, it also creates all the job
yaml files so that the only remaining step is running the cluster
with kub_run_task()
.
kub_push_task(path, image_name = NULL, num_jobs = NULL)
path | Path to task directory (if missing, defaults to the most recently created task) |
---|---|
image_name | Name of the image where to build the container (if |
num_jobs | When run, the number of jobs spawned (if |
Path to the kuber directory
https://docs.docker.com/engine/reference/commandline/build/ https://cloud.google.com/container-registry/docs/pushing-and-pulling