Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-23650

[2155770] Instructions on how to disable prometheus is outdated or errorneus

XMLWordPrintable

    • Moderate
    • None

      Document URL:
      https://access.redhat.com/solutions/6729611

      Describe the issue:

      The command

      1. oc edit statefulsets.apps

      and reducing the replica: 0 count does not work. Re-opening the config still shows replica: 1 (or even replica: 2).
      And I still see prometheus processes running on the host and consuming CPU time, so I think the instructions are outdated with 4.10.

      Suggestions for improvement:

      Need to find a reliant way to disable prometheus on a node and make sure it stays off until turned back on.

      Additional information:

      The vexact version I used is

      $ oc version
      Client Version: 4.10.45
      Server Version: 4.10.45
      Kubernetes Version: v1.23.12+8a6bfe4

      FYI this is not a CNV only related topic but I couldn't find a generic Openshift category here in BZ this would fit into, so my apologies for that.

              ctomasko Catherine Tomasko
              nilskoenigrh Nils Koenig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: