Skip to content

Reduce cost of staging #2562

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

Merged
merged 10 commits into from
Apr 24, 2023
Merged

Reduce cost of staging #2562

merged 10 commits into from
Apr 24, 2023

Conversation

minrk
Copy link
Member

@minrk minrk commented Apr 21, 2023

  • set lower resource requests for several components (staging is almost always idle, so it doesn't need much). Needed to move some hardcoded resources from templates to values.yaml
  • switch to cheap e2-standard-2 nodes (2 core, 8GB RAM) (edit: e2-medium was too cheap, with only 1 allocatable CPU per node, which mostly got eaten up by kube-system.
  • smaller boot disks (100GB)
  • deploy artifact registry (cheaper - solves GCP cloud storage price increase #2438) and will make it easier to delete all images in the old Container Registry used by prod)

@minrk
Copy link
Member Author

minrk commented Apr 21, 2023

/test-this-pr please

@jupyterhub-bot
Copy link
Collaborator

This Pull Request is now being tested 🎉 See the test progress in GitHub Actions.

@jupyterhub-bot
Copy link
Collaborator

Job status: failure
Branch 'test-this-pr/2562' has been deleted

@minrk
Copy link
Member Author

minrk commented Apr 21, 2023

/test-this-pr please

@jupyterhub-bot
Copy link
Collaborator

This Pull Request is now being tested 🎉 See the test progress in GitHub Actions.

@jupyterhub-bot
Copy link
Collaborator

Job status: failure
Branch 'test-this-pr/2562' has been deleted

@minrk
Copy link
Member Author

minrk commented Apr 21, 2023

/test-this-pr please

@jupyterhub-bot
Copy link
Collaborator

This Pull Request is now being tested 🎉 See the test progress in GitHub Actions.

@jupyterhub-bot
Copy link
Collaborator

Job status: failure
Branch 'test-this-pr/2562' has been deleted

@minrk
Copy link
Member Author

minrk commented Apr 21, 2023

There's a problem with artifact registry credentials. Will need to figure that out.

I think I'll leave it pushing to gcr and land the rest

@minrk
Copy link
Member Author

minrk commented Apr 21, 2023

/test-this-pr please

@jupyterhub-bot
Copy link
Collaborator

This Pull Request is now being tested 🎉 See the test progress in GitHub Actions.

@jupyterhub-bot
Copy link
Collaborator

Job status: failure
Branch 'test-this-pr/2562' has been deleted

@minrk
Copy link
Member Author

minrk commented Apr 22, 2023

/test-this-pr please

@jupyterhub-bot
Copy link
Collaborator

This Pull Request is now being tested 🎉 See the test progress in GitHub Actions.

@minrk
Copy link
Member Author

minrk commented Apr 22, 2023

I think I've almost got artifact registry figured out, but I don't want to block other things before figuring that out.

@jupyterhub-bot
Copy link
Collaborator

Job status: success
Branch 'test-this-pr/2562' has been deleted

@minrk minrk merged commit 0887b3b into jupyterhub:main Apr 24, 2023
@minrk minrk deleted the cheaper-staging branch April 24, 2023 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants