Deploying a custom build of Datalab to Google Cloud platform -
for project trying expand google cloud datalab , deploy modified version google cloud platform. understand it, deploying process consists of following steps:
- build docker image
- push container registry
- use
container
parameter google cloud deployer specify correct docker image, explained here.
since default container registry, i.e. gcr.io/cloud_datalab/datalab:<tag>
off-limits non-datalab contributors, pushed docker image our own container registry, i.e. gcr.io/<project_id>/datalab:<tag>
.
however, google cloud deployer pulls directly gcr.io/cloud_datalab/datalab:<tag>
(with tag specified container
parameter) , not seem allow specification of source container registry. deployer not appear open-source, leaving no way deploy our image google cloud.
we have looked creating custom deployment similar example listed here never starts datalab, suspect start script more complicated.
question: how can deploy datalab image our own container registry google cloud?
many in advance.
the deployment parameters can guessed easier google cloud datalab deployment script ssh
ing temporary compute node responsible deployment , browsing /datalab
folder. contains runtime configuration file use app engine flexible environment. using configuration file, google preview app deploy
command (which accepts --image
parameter docker images) deploy app engine correctly.
Comments
Post a Comment