Build using private local repositoryΒΆ
PrerequisitesΒΆ
Local Docker
Kubernetes cluster access
Private local repository setup in the cluster with local access
use the project k8s-local-docker-registry
β127.0.0.1:5000β will be used as the repo host url
Prerequisite checkΒΆ
Ensure the prerequisites are in place and the correct ports available.
# Check that the private local registry works
(set -x && curl -X GET http://127.0.0.1:5000/v2/_catalog && \
docker pull busybox && docker tag busybox 127.0.0.1:5000/busybox && \
docker push 127.0.0.1:5000/busybox)
Updating components and redeploying into clusterΒΆ
Basic process of how to test code changes in cluster.
Stop seldon core if its running.
Build and push the component that was updated or all components if necessary.
Start seldon core.
Deploy models.
Below are details to achieve this.
Building all componentsΒΆ
Build all images and push to private local repository.
./build-all-private-repo
./push-all-private-repo
start/stop Seldon CoreΒΆ
./start-seldon-core-private-repo
./stop-seldon-core-private-repo
Building individual componentsΒΆ
./cluster-manager/build-private-repo
./cluster-manager/push-private-repo
./api-frontend/build-private-repo
./api-frontend/push-private-repo
./engine/build-private-repo
./engine/push-private-repo