GithubHelp home page GithubHelp logo

Comments (4)

jessesuen avatar jessesuen commented on June 10, 2024 1

is it true that a controller could only ever connect to one different cluster or namespace for all jobs

That's correct, it would just be to run workloads in a one specific namespace in a cluster. If multiple namespaces or clusters were allowed, it would create a mapping problem and I wouldn't want to introduce that level of complexity.

from argo-rollouts.

zachaller avatar zachaller commented on June 10, 2024

Would this JOB_KUBECONFIG be set at the controller level? I am wondering if say a multi cluster job plugin would make sense?

from argo-rollouts.

jessesuen avatar jessesuen commented on June 10, 2024

Yes, this would be a controller-level setting, and when set, it would simply change the kube client that would be used for the Job client/informer.

Unfortunately, using plugin isn't desirable, since the entire job/pod spec would have to be duplicated into a plugin stanza, creating unnecessary nesting, and not to mention the overhead of the plugin development itself. Since, Jobs are already a native type we already support, this request is just allowing an operator an added control on where the workload gets created.

Another use case is not necessarily multi-cluster. Another one that came up is that can be desired to create Jobs under a different namespace from the AnalysisRun (e.g. if that namespace has additional node/affinity/networking controls that would allow operators to further restrict where pods get created to improve security).

from argo-rollouts.

zachaller avatar zachaller commented on June 10, 2024

Yea that's fair about plugin embedding the whole pod spec is a little "not fun" due to the loss of type information, that said with this as an ENV is it true that a controller could only ever connect to one different cluster or namespace for all jobs? Not saying there is not value in that just want to confirm.

from argo-rollouts.

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.