Code Monkey home page Code Monkey logo

Comments (12)

zoumo avatar zoumo commented on June 15, 2024

v1alpha2 api spec

spec:
  nodes:
    names:
    - kube-master-1
    - kube-master-2
    - kube-master-3
    replica: 3
    taintEffect: PreferNoSchedule
  providers:
    ipvsdr:
      scheduler: rr
      vip: 192.168.18.60
  proxy:
    type: nginx
    config:
      proxy-read-timeout: "600"
      proxy-send-timeout: "600"
      use-proxy-protocol: "false"
    resources:
      limits:
        cpu: "1"
        memory: 1000Mi
      requests:
        cpu: 300m
        memory: 256Mi

from loadbalancer-controller.

zoumo avatar zoumo commented on June 15, 2024

@kdada @qiuxiaolian @ddysher @xiaoq17 @Superxi911 PTAL

from loadbalancer-controller.

xiaoq17 avatar xiaoq17 commented on June 15, 2024

@kdada add task labels and track in project APP

from loadbalancer-controller.

ddysher avatar ddysher commented on June 15, 2024

@zoumo Are we still using Deployment?

from loadbalancer-controller.

kdada avatar kdada commented on June 15, 2024

Does spec.nodes.replica equal to len(spec.nodes.names)?

from loadbalancer-controller.

zoumo avatar zoumo commented on June 15, 2024

@ddysher
I think we should take precise control of replicas of loadbalancer.

Consider the following case:

  1. HPA for loadbalancer
  2. user only specify the replicas, let controller choose nodes from a candidate pool

Deployment is easier to be scaled to a precise replica number.

from loadbalancer-controller.

zoumo avatar zoumo commented on June 15, 2024

@kdada
spec.nodes.replica doesn't take effect now

from loadbalancer-controller.

ddysher avatar ddysher commented on June 15, 2024

@zoumo can't we dynamically taint / un-taint nodes to control replica and which node to run pods?

There are benefits of daemonset that can't be been from deployment, like guaranteed scheduling, easier setting of critical addon, started before other pods, etc. LB is the exact use case for daemonset - label/taint the nodes, then run daemonset.

from loadbalancer-controller.

ddysher avatar ddysher commented on June 15, 2024

My setback from using daemonset is due to internal services; if that's no longer supported, i don't see compelling reasons for using deployment now. WDYT?

from loadbalancer-controller.

zoumo avatar zoumo commented on June 15, 2024

It seems that LB is the exact use case for daemonset, but there are still some issues need to discuss for the future version.

Unfortunately, there too much work for replacing Deployment with Daemonset to catch up with this release cycle(11.30)

I will consider it in next release.

from loadbalancer-controller.

ddysher avatar ddysher commented on June 15, 2024

you mean, to not miss the release cycle? :)

Unfortunately, there too much work for replacing Daemonset with Deployment to miss the release cycle(11.30)

LGTM if it's under ur radar.

from loadbalancer-controller.

zoumo avatar zoumo commented on June 15, 2024

Aha, that is a grammar mistake.

囧 (ノへ ̄、)捂脸

I mean, couldn't catch up with this release time.

from loadbalancer-controller.

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.