Comments (3)
(1) I think this is the state we have for WSHUB now. To reactivate it you need to do #67 in reverse and then it should be back in action. When you are done you need to follow the "remove a hub" instructions again. After that it costs no money anymore and can be brought back to life quickly.
(2) I think for July the bill is ~$200. Did some tuning of resources in #76 with the goal of getting to
(3) you can install kubectl
, helm
and gcloud
on your laptop or use the terminal in console.cloud.google.com. Up to you. There is https://earthlab-hub-ops.readthedocs.io/en/latest/tooling.html which gives some pointers on how to install them on your laptop.
from hub-ops.
(2) again: I expect that as we gain experience with students around we can get more adventurous in squeezing the bill. I'd start with something which is on the generous side, observe the actual usage patterns for a week or two, then see where we can squeeze.
The autoscaling itself is a feature of the "node pool" (scroll to the bottom, should say "core-pool"). We can configure the min&max size of the pool and what kind of machines it uses. When the current machines are full it will launch a new one, and as people's notebook pods are stopped it will turn off machines again.
My expectation right now is that we have two pools. One that is "always on" and is home to the hub pods and monitoring pods. A second pool that can scale to zero which uses a machine type big enough for about 15 students. So we only need to start a new machine for every 15 or so students. Right now the machine in the "core-pool" has just enough room so that one person can start a user pod and not trigger a scale up event. If this works well it would seem like the best of both worlds.
from hub-ops.
ok thank you... this helps. i'll go through the tooling section to better understand a local setup. leaving this open for the time being to reference!
from hub-ops.
Related Issues (20)
- git puller quirk / fail HOT 2
- Every commit is taking hours to build HOT 1
- Travis and Hub Deployment - Currently I can't deploy hub updates HOT 5
- Update location of grafana and prometheus charts HOT 5
- Migrate deployment from Travis to Actions HOT 4
- Update docs on how to setup gcloud for cu
- Resource tracking on the hub
- Vector notebooks failing grading on the hub HOT 2
- nbgrader-hub for the spring HOT 1
- revoke user tokens at end of class HOT 5
- migrate new hub to main branch HOT 2
- Move Applications to the Earth lab ORGANIZATION and update docs HOT 3
- PR only build? HOT 7
- remove travis secrets from repo HOT 2
- issues launching the hub HOT 3
- uploading files to the new hub is hanging HOT 1
- hub launch throwing memory errors and is very slow HOT 5
- Remove students from ea-hub
- shut down grading hub for the summer
- issues shutting down the hub HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hub-ops.