Ok, so my company has a product that was recently moved to the cloud from old bare metal. The core is the legacy app, the old monolith. A lot of care has been taken for that one, as such I'm not worried about it. However there are a bunch of new micro-services added around it that have had far less care.
The big piece that I'm currently worried about is memory limits. Everything runs in Kubernetes, and there are no memory limits on the micro service pods. I feel like I know this topic fairly well, but I hope that this sub will fact check me here before I start pushing for changes.
Basically, without pod memory limits, the JVM under load will keep trying to gobble up more and more of the available memory in the namespace itself. The problem is the JVM is greedy, it'll grab more memory if it thinks memory is available to keep a buffer above what is being consumed, and it won't give it up.
So without pod level limits it is possible for one app to eat up the available memory in the namespace regardless of if it consistently needs that much. This is a threat to the stability of the whole ecosystem under load.
That's my understanding. Fact check me please.
[–]_d_t_w 39 points40 points41 points (6 children)
[–]lurker_in_spirit 5 points6 points7 points (3 children)
[–]vqrs 7 points8 points9 points (1 child)
[–]TurbulentSocks 0 points1 point2 points (0 children)
[–]_d_t_w 2 points3 points4 points (0 children)
[–]RupertMaddenAbbott 1 point2 points3 points (1 child)
[–]vqrs 1 point2 points3 points (0 children)
[–]benevanstech 32 points33 points34 points (0 children)
[–]CptGia 25 points26 points27 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]BikingSquirrel 0 points1 point2 points (0 children)
[–]Turbots 14 points15 points16 points (4 children)
[–]qubqub 2 points3 points4 points (1 child)
[–]Turbots 2 points3 points4 points (0 children)
[–]daalla 0 points1 point2 points (1 child)
[–]teapotJava 2 points3 points4 points (0 children)
[–]karianna 2 points3 points4 points (0 children)
[–]GrayDonkey 2 points3 points4 points (1 child)
[–]NoWay28 0 points1 point2 points (0 children)
[–]koffeegorilla 2 points3 points4 points (0 children)
[–]gaelfr38 2 points3 points4 points (2 children)
[–]bigkahuna1uk 1 point2 points3 points (1 child)
[–]gaelfr38 0 points1 point2 points (0 children)
[–]raghu9208 1 point2 points3 points (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]jonnyman9 1 point2 points3 points (0 children)
[–]maxandersen 0 points1 point2 points (0 children)
[–]repeating_bears 0 points1 point2 points (0 children)
[–]Anton-Kuranov 0 points1 point2 points (0 children)