Coder Social home page Coder Social logo

Comments (2)

asmacdo avatar asmacdo commented on August 16, 2024 1

2024 DandiHub Refactor-Scale Up drawio
2024 DandiHub Refactor-Scale Down drawio

Everything appears to work as expected, but we should observe at scale to be sure as part of the testing issues. Closing as completed.

from dandi-hub.

asmacdo avatar asmacdo commented on August 16, 2024

Heres what happens during spin up:

The hub creates a Pod with a nodeSelector of gpu or default.

# We don't have enough nodes already spun up. And theres nothing we can boot either.
Warning  FailedScheduling   55s   jupyterhub-user-scheduler  0/4 nodes are available: 4 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling..

# Karpenter magic: Under the hood a nodeclaim is created, which is a Karpenter CRD.
# In response, Karpenter interacts with AWS, creates a new machine and registers it as a K8s Node
2024-03-26T15:15:17Z [Normal] Pod should schedule on: nodeclaim/default-55cwr

# Dont be fooled by this message from the cluster-autoscaler. We don't want the pod to trigger cluster-autoscaler scale-up, we are using Karpenter
2024-03-26T15:15:24Z [Normal] pod didn't trigger scale-up: 1 node(s) didn't match Pod's node affinity/selector

# Now k8s behaves normally, the pod has been assigned to a Node
2024-03-26T15:16:03.407813Z [Normal] Successfully assigned jupyterhub/jupyter-asmacdo to ip-100-64-16-100.us-west-1.compute.internalNormal   

from dandi-hub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.