GithubHelp home page GithubHelp logo

Comments (10)

basuotian avatar basuotian commented on June 23, 2024 1

Does this feature look like equivelance class cache which is removed in v1.23?

from kubernetes.

k8s-ci-robot avatar k8s-ci-robot commented on June 23, 2024

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

from kubernetes.

AxeZhan avatar AxeZhan commented on June 23, 2024

/sig node

from kubernetes.

zhifei92 avatar zhifei92 commented on June 23, 2024

Which component do you want to implement this functionality in, is it the schdeuler? And If podAffinity is present, the distribution of pods in the deployment will be affected.

from kubernetes.

chengjoey avatar chengjoey commented on June 23, 2024

even through same type of pods in same workload, if set volume or TopologySpreadConstraint, then pass through the filter of plugins such as resource, affinity, feasible nodes should be a big difference

from kubernetes.

AxeZhan avatar AxeZhan commented on June 23, 2024

/sig scheduling
Sorry, I didn't look into the details. As your purpose is to accelerating predicate, this belongs to sig-scheduling.

I think I can understand some of what you're trying to do.
For example, if we have a deployment with required nodeAffinity.
Then maybe we can store a affinity->node mapping, and then we can skip preFilter of nodeAffinity plugin for other pods in the same deployment.

However, the maintaining of this cache will also increase the burden on the scheduler, and brings additional complexity to the framework.
If you have implemented this somewhere, then maybe the results of a benchmark will be very convincing.

from kubernetes.

lowang-bh avatar lowang-bh commented on June 23, 2024

And If podAffinity is present, the distribution of pods in the deployment will be affected.

all pods in a deployment have same predicate condition, include podAffinity, right?

from kubernetes.

lowang-bh avatar lowang-bh commented on June 23, 2024

plugins such as resource, affinity, feasible nodes should be a big difference

Resource should be re-considered, of couse.

from kubernetes.

lowang-bh avatar lowang-bh commented on June 23, 2024

However, the maintaining of this cache will also increase the burden on the scheduler, and brings additional complexity to the framework.

Yes, it is a heavy work. I just throw out this question and we can discuss it.

If you have implemented this somewhere, then maybe the results of a benchmark will be very convincing.

Some other schedulers based on kubernetes have this feature.
I will try to run a benchmarck if I can.

from kubernetes.

AxeZhan avatar AxeZhan commented on June 23, 2024

Some other schedulers based on kubernetes have this feature.

Can you paste a reference here? :)

from kubernetes.

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.