Git Product home page Git Product logo

Comments (4)

gibsondan avatar gibsondan commented on July 18, 2024

Hi @NiallRees - is setting the "includeConfigInLaunchedRuns" option to False an option here? https://docs.dagster.io/deployment/guides/kubernetes/deploying-with-helm#step-61-configure-the-deployment

Or is there other configuration from the code server that you do want to apply to launched runs?

The reason this changed when you moved to 1.7.0 is the merge behavior change listed here: https://docs.dagster.io/changelog?page=3#breaking-changes-1

"[dagster-k8s] The default merge behavior when raw kubernetes config is supplied at multiple scopes (for example, at the instance level and for a particular job) has been changed to be more consistent. Previously, configuration was merged shallowly by default, with fields replacing other fields instead of appending or merging. Now, it is merged deeply by default, with lists appended to each other and dictionaries merged, in order to be more consistent with how kubernetes configuration is combined in all other places. See the docs for more information, including how to restore the previous default merge behavior."

I appreciate that in this specific instance this leads to an unexpected interaction since you are setting this configuration on your run launcher with the intention of it applying to your runs but then its getting overridden by code-server-specific configuration.

from dagster.

gibsondan avatar gibsondan commented on July 18, 2024

There's a similar issue here I think: #13921

from dagster.

NiallRees avatar NiallRees commented on July 18, 2024

Thanks @gibsondan - that makes sense. I haven't tested setting includeConfigInLaunchedRuns to False. It would make sense to me that with includeConfigInLaunchedRuns = True, it wouldn't override configuration explicitly set for the runs. I can get by for now simply by setting the required resources for the run on the code server too, and I'm happy with that, so happy to close.

from dagster.

gibsondan avatar gibsondan commented on July 18, 2024

Got it - will move the discussion to the linked issue, but sorry for the rough edge here - we'll see what we can do to make this better match your intent.

from dagster.

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.