Skip to content
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

helmfile sync: speedup #3052

Merged
merged 1 commit into from
Feb 2, 2023
Merged

helmfile sync: speedup #3052

merged 1 commit into from
Feb 2, 2023

Conversation

jschaul
Copy link
Member

@jschaul jschaul commented Feb 1, 2023

  • change liveness and readyness probes to start querying more quickly to see if cassandra is up. Instead of 90 - 120 seconds, if cassandra is up earlier that should manifest itself in the setup time of 'make kube-integration-setup'
  • change helmfile for wire-server to wait for databases-ephemeral to be up before launching pods: cassandra-migration needs to have a working cassandra anyway - the crashloop-backoff strategy leads to a lot of waiting in between restarts; so it should be faster to wait for cassandra to be up before attempting schema migrations

Observed speedup: 30-60 seconds.

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

- change liveness and readyness probes to start querying more quickly to
  see if cassandra is up. Instead of 90 - 120 seconds, if cassandra is
up earlier that should manifest itself in the setup time of 'make
kube-integration-setup'
- change helmfile for wire-server to wait for databases-ephemeral to be
  up before launching pods: cassandra-migration needs to have a working
cassandra anyway - the crashloop-backoff strategy leads to a lot of
waiting in between restarts; so it should be faster to wait for
cassandra to be up before attempting schema migrations
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Feb 1, 2023
@jschaul jschaul merged commit d182942 into develop Feb 2, 2023
@jschaul jschaul deleted the speed-up-setup-time-kubernetes branch February 2, 2023 10:04
supersven pushed a commit that referenced this pull request Feb 10, 2023
- change liveness and readyness probes to start querying more quickly to
  see if cassandra is up. Instead of 90 - 120 seconds, if cassandra is
up earlier that should manifest itself in the setup time of 'make
kube-integration-setup'
- change helmfile for wire-server to wait for databases-ephemeral to be
  up before launching pods: cassandra-migration needs to have a working
cassandra anyway - the crashloop-backoff strategy leads to a lot of
waiting in between restarts; so it should be faster to wait for
cassandra to be up before attempting schema migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants