Bug 2108976 - [bz-monitoring][invariant] alert/Watchdog must have no gaps or changes
Summary: [bz-monitoring][invariant] alert/Watchdog must have no gaps or changes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.z
Assignee: Simon Pasquier
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 2108978
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-20 07:53 UTC by OpenShift BugZilla Robot
Modified: 2022-10-25 18:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-25 18:03:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift prometheus-operator pull 196 0 None open [release-4.10] Bug 2108976: pkg/prometheus: fix curl exec probe 2022-10-05 20:00:55 UTC
Red Hat Product Errata RHBA-2022:7035 0 None None None 2022-10-25 18:03:34 UTC

Comment 3 Junqi Zhao 2022-10-10 06:38:29 UTC
tested with PR, readinessProbe/startupProbe are updated to below, no regression issues
# oc -n openshift-monitoring get sts prometheus-k8s -oyaml
...
        name: prometheus
        readinessProbe:
          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
          failureThreshold: 3
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 3
        resources:
          requests:
            cpu: 70m
            memory: 1Gi
        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

Comment 8 errata-xmlrpc 2022-10-25 18:03:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.10.38 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7035


Note You need to log in before you can comment on or make changes to this bug.