Giter VIP home page Giter VIP logo

Comments (6)

simonpasquier avatar simonpasquier commented on July 18, 2024

The startup probe delay should be 1h already in 4.11. Isn't it sufficient in your case?
There's no workaround except moving CMO to unmanaged state.

from cluster-monitoring-operator.

elmazzun avatar elmazzun commented on July 18, 2024

The startup probe delay should be 1h already in 4.11. Isn't it sufficient in your case?

At the moment, Prometheus has the following probe:

startupProbe:
  exec:
    command:
      - sh
      - '-c'
      - >-
        if [ -x "$(command -v curl)" ]; then exec curl --fail
        http://localhost:9090/-/ready; elif [ -x "$(command -v wget)"
        ]; then exec wget -q -O /dev/null
        http://localhost:9090/-/ready; else exit 1; fi
  timeoutSeconds: 3
  periodSeconds: 15
  successThreshold: 1
  failureThreshold: 60

If I am right, Prometheus will have a maximum of 60 * 15 seconds to complete its startup.

There's no workaround except moving CMO to unmanaged state.

Would that let me modify startupProbe parameters?

from cluster-monitoring-operator.

simonpasquier avatar simonpasquier commented on July 18, 2024

the startup probe timeout has been increased to 60m in 0bfc262 which is included in OCP 4.11.21 (https://access.redhat.com/errata/RHSA-2022:9107). If you're on OKD, I'm not sure about the corresponding version.

from cluster-monitoring-operator.

elmazzun avatar elmazzun commented on July 18, 2024

My Cluster OCP 4.11.12, that is why my parameters are so low.

Guess I'll have to give up to update probes parameters and just update my 4.11.12 Cluster to at least 4.11.21.

Thank you very much @simonpasquier

from cluster-monitoring-operator.

simonpasquier avatar simonpasquier commented on July 18, 2024

/close

from cluster-monitoring-operator.

openshift-ci avatar openshift-ci commented on July 18, 2024

@simonpasquier: 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 cluster-monitoring-operator.

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.