Skip to content

Conversation

@yuvipanda
Copy link
Contributor

@yuvipanda yuvipanda commented Oct 20, 2025

  • Changes existing OVH terraform code to instead be able to support OVH registry only, as we use k3s for kubernetes
  • Setup a new kubernetes k3s cluster, following our existing k3s docs, for running the staging cluster
  • Deploy to this new staging cluster
  • Have the staging cluster's launch events come to the same analytics pipeline as our prod cluster for now, instead of setting up two separate ones as we have so far. This adds a tiny amount of noise to our pipeline (potentially - i see it's a different log name) but is worth it
  • Turn off the event publisher related code for now. This means we'll only have this in prod.
  • Turn off matomo, as we use plausible now in prod instances.
  • Setup k3s on a manually created VM on OVHCloud. I added an ssh key with access to the ubuntu user (which has full sudo) to this PR as a secret.
  • DNS is currently set to https://staging.mybinder.2i2c.cloud/ because i no longer have access to mybinder.org DNS. It's on cloudflare but it seems to require 2fa now and i don't have access. Maybe @minrk does?

TODO

  • Fix the DNS to point to staging.mybinder.org instead of the 2i2c.cloud domains
  • Test that this works in our CI
  • Rip out the existing staging cluster and everything with it, say 'thank you' and gently bury it with respect

Fixes #3477

With our k3s based setups, terraform on OVH is primarily
managing *just* the harbor setup, removing all the k8s stuff. I'd
like for us to use one harbor across multiple smaller VPS
instances.
- Use 2i2c.cloud as domain because I don't have access to mybinder.org
  domain yet
@yuvipanda yuvipanda changed the title Revamp OVH terraform to support k3s based setups Move Staging to run on OVH with k3s Oct 21, 2025
@yuvipanda yuvipanda mentioned this pull request Oct 22, 2025
5 tasks
@manics
Copy link
Member

manics commented Oct 25, 2025

The mybinder.org domain is managed by Jupyter: jupyterhub/team-compass#424 (comment)

@yuvipanda
Copy link
Contributor Author

i no longer have access to that cloudflare account. It seems to require 2fa and i don’t have 2fa for it :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Move staging to OVH

3 participants