Coder Social home page Coder Social logo

Comments (7)

l-e-e-o avatar l-e-e-o commented on May 5, 2024

I ran into the same problem as you. After unsuccessfully fiddling around with the values I decided to read the documentation again and discovered there seems to be a solution for this exact problem: startup probes. Maybe you want to add this to your PR as well.

from helm-charts.

jochenkluger avatar jochenkluger commented on May 5, 2024

Thank you for your comment. Sure, it would be consequent to add the startup probes as well.
I will modify the PR in the next days.
In the end, my problem could be solved by modifying the ressource limits and I could return to the default probes.

from helm-charts.

jochenkluger avatar jochenkluger commented on May 5, 2024

As the original mailu charts do not contain startup checks, I added them conditionally.
So the behaviour does not change as long as no startupProbe section is added e.g.:
admin:
image:
repository: mailu/admin
podAnnotations: {}
resources:
limits:
cpu: 600m
memory: 500Mi
requests:
cpu: 500m
memory: 500Mi
startupProbe:
periodSeconds: 999
failureThreshold: 999
timeoutSeconds: 999

from helm-charts.

micw avatar micw commented on May 5, 2024

Hello,
I'm reading this with big interest, especially the "startupProbe" (which I did not knew before).

I find the if...default...else syntax you introduced to the existing probes a bit confusing. I suggest that we move the defaults entirely to values.yaml and make each probe conditional, as you did in startupProbes:

https://github.com/Mailu/helm-charts/pull/105/files#diff-aa6e5cf58dc2c22b574fd3cebef88d8c0858896419fccc3fb79d469f88bbf45cR147-R155

With startup probes, it makes also sense to re-think the (probably "randomly") selected defaults.

from helm-charts.

jochenkluger avatar jochenkluger commented on May 5, 2024

Hi,
I took the defaults from the existing templates and the if...default...else syntax was used to make it possible to keep the template defaults and just change a specific value.
The actual default values in the startup probes are just copies of the other probes.

We can change all probes to the pattern used in the startup probes, then the complete probe section has to be configured in values.yaml.

from helm-charts.

micw avatar micw commented on May 5, 2024

@jochenkluger @l-e-e-o I'd be happy if you could have a look at #115 which is a modified version of the original PR.

from helm-charts.

micw avatar micw commented on May 5, 2024

I merged #115 (and bumped chart version to avoid compatibility issues). I moved the long startup delays to the defaults for startupProbe and added an additional one for rspamd (to solve the mentioned startup issue). If it still makes problems, feel free to open a new issue at any time.

from helm-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.