Bug 1622212 - [free-int] no podAntiAffinity set on cassandra pods
Summary: [free-int] no podAntiAffinity set on cassandra pods
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.12.0
Assignee: John Sanda
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-24 18:20 UTC by Justin Pierce
Modified: 2018-09-24 17:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-24 17:43:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Pierce 2018-08-24 18:20:50 UTC
Description of problem:
One of our 3 infrastructure nodes was scheduled with all three hawkular-cassandra pods which had the consequence of consuming the majority of the memory on the box and effectively disabling logging.  

Version-Release number of selected component (if applicable):
v3.11.0-0.21.0

Actual results:
See attachment for problematic pod distribution.


Expected results:
pods should distribute evenly across HA infra nodes. Logging uses podAntiAffinity in the pod spec to achieve this.

Comment 2 John Sanda 2018-08-27 17:50:13 UTC
How are you checking memory usage? Seeing high memory usage is normal and expected for something like Cassandra which relies heavily on mmap for I/O. Most writes in Cassandra go to the operating system file cache, and Cassandra defers to the OS to decide when something should be written out to disk. I explained this in a little more detail at https://bugzilla.redhat.com/show_bug.cgi?id=1596327#c11.


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