google / trillian

A transparent, highly scalable and cryptographically verifiable data store.
Apache License 2.0
3.53k stars 379 forks source link

Fully declarative deployment configs for Google Cloud #1952

Open RJPercival opened 4 years ago

RJPercival commented 4 years ago

Our deployment process currently involves running shell scripts in examples/deployment/kubernetes, which use a combination of tools to build Docker images, setup a Kubernetes cluster on GCP, configure it and deploy Trillian. This could be improved by using a tool such as Terraform to replace the shell scripts and either relying on our published Docker images or using Google Cloud Build to create the images. Kustomize could be used to support a wider variety of deployments (currently, we use envsubst for a similar purpose, but it is less flexible).

RJPercival commented 4 years ago

We now have a Terraform config for deploying Trillian to GCP with a Cloud Spanner database. However, it's still necessary to use the shell scripts if you want to use a MySQL database instead.