Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1950035

Summary: User workload Prometheus and Thanos ruler statefulsets should have 2 replicas and hard affinity set
Product: OpenShift Container Platform Reporter: Simon Pasquier <spasquie>
Component: MonitoringAssignee: Damien Grisonnet <dgrisonn>
Status: CLOSED DUPLICATE QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: alegrand, anpicker, erooth, kakkoyun, lcosic, pkrupa, surbania
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-30 12:05:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon Pasquier 2021-04-15 15:44:53 UTC
Description of problem:

As mentioned in the conventions doc https://github.com/openshift/enhancements/blob/master/CONVENTIONS.md#high-availability, both user-workload prometheus and thanos ruler should have a replica count of 2 with hard affinities set till we bring descheduler into our product.

Version-Release number of selected component (if applicable):
4.8

How reproducible:
Always

Steps to Reproduce:
1. Enable user workload
2.
3.

Actual results:
prometheus-user-workload and thanos-ruler statefulsets use preferredDuringSchedulingIgnoredDuringExecution for node affinity.

Expected results:
they should use requiredDuringSchedulingIgnoredDuringExecution

Additional info:
Similar to bug 1949262 and bug 1948711