January 2020
Intermediate to advanced
640 pages
16h 56m
English
Before we can create the Links 'R' Us StatefulSet, there is one more aspect that we need to take care of: the CockroachDB instance is not aware of the schema for the link graph. Nothing to worry about... We can remedy this issue by spawning a one-off container that will create the database for the link graph and apply the schema migrations from Chapter 6, Building a Persistence Layer.
You can find the source code and Dockerfile for this container in the Chapter10/cdb-schema folder. Assuming that you are currently using Minikube for your cluster, you can run the following command in the preceding folder to create the Docker image and push it to the private registry exposed by Minikube:
make dockerize-and-push
Moving ...