Giter Site home page Giter Site logo

Comments (7)

nvo-aurora avatar nvo-aurora commented on August 24, 2024

Would a config with the below override the default setting in values.yaml?

limits:
  cpu: ''

And remove the cpu limit?

from charts.

alacuku avatar alacuku commented on August 24, 2024

Default resource limits being set upstream in this chart makes it difficult to override downstream. We have removed CPU limits in our config, however the below setting in values.yaml

  limits:
    cpu: 1000m

cannot be overridden if our config has no CPU limits set, and so this setting gets retained in our final deployment.

Hi @nvo-aurora, you need to set a new value in your configuration file (values.yaml) in order to overwrite the default values.
In this case, you will need to set the whole resources:

resources:
  limits:
    cpu: 

This will overwrite the resources for you deployment.

from charts.

nvo-aurora avatar nvo-aurora commented on August 24, 2024

A blank value like the below would not work, correct? We need a number value?
cpu: ''

from charts.

alacuku avatar alacuku commented on August 24, 2024

Hi @nvo-aurora, a blank value like this would work:

resources:
  limits:
    cpu: 

from charts.

nvo-aurora avatar nvo-aurora commented on August 24, 2024

Thank you

from charts.

alacuku avatar alacuku commented on August 24, 2024

/close

Feel free to comment if you have issues.

from charts.

poiana avatar poiana commented on August 24, 2024

@alacuku: Closing this issue.

In response to this:

/close

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/test-infra repository.

from charts.

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.