-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ctlog shards that create their own Cloud SQL instances. #370
Conversation
Thank you so much @k4leung4 |
Tests are failures because v0.4.8 didn't roll out correctly. @cpanato and I have been trying to sort it. |
yes, the best way to test/develop is to run it against your own project. |
I've now tested (and fixed bunch of things that
and it produces a bunch of stuff. I guess my next step here is to create the sigstore stack in my project without ctlog_shards defined, and then run it again with the ctlog_shards for the new 2021 and we should be seeing just a new DB being created. I'll do that tomorrow. |
1abed76
to
46ecc72
Compare
load_balancer_ipv4 = module.network.external_ipv4_address | ||
|
||
cluster_name = var.cluster_name | ||
mysql_database_version = var.mysql_db_version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we wire in a separate version (and tier) for ctlog? Trillian appears to have some performance problems with 8.0 and we will likely stick with 5.7 for prod so testing that in staging would be great. The tier is higher in staging because of the performance issues as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
serviceaccounts, services, etc. Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@var-sdk care to take one more look. Things got cleaned a bunch and now when applied with a new shard here: Only 3 resources were created:
And connected to the new DB and verified there was trillian database on that instance, but it was empty (no tables), which createdb will handle. Onto the helm charts :) Thank you @k4leung4 for all the help here!!! ❤️ |
Signed-off-by: Ville Aikas vaikas@chainguard.dev
Summary
WIP: Need to do some testing, but wanted to share the approach early :)
Starts putting the pieces at the infra level necessary for:
In particular:
want to create a new Cloud SQL instance for the already existing one.
ctlog_shards
which is a list of shards. So we'd add, say 2021 into this list first to create a new separate Cloud SQL instance for the new CTLogRelease Note
Documentation