{"id":825,"date":"2022-02-04T16:39:31","date_gmt":"2022-02-04T15:39:31","guid":{"rendered":"https:\/\/www.ume.li\/blog\/?p=825"},"modified":"2022-02-08T15:03:51","modified_gmt":"2022-02-08T14:03:51","slug":"hcl-component-pack-7-mulitple-namespaces-downsize","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/","title":{"rendered":"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize"},"content":{"rendered":"<p>For smaller environments it&#8217;s possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi.<br \/>\nReducing the pods for redis and mongo is not an option. <\/p>\n<p>Example scale for mw-proxy<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nkubectl -n connections get deployments\r\nkubectl -n connections scale --replicas=1 deployment\/mw-proxy\r\n<\/pre>\n<p>So I focused on elasticsearch. There are 2 options. Reducing memory consumption and reducing the number of pods.<br \/>\nReduce the memory requirements can be achieved if you look at the helm chart.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nhelm show values elasticsearch7-0.1.0-20210427-114731.tgz  &gt; elasticsearch.yml\r\n<\/pre>\n<p>There you get all the parameters that can be set by helm.<\/p>\n<p>So for my testenvironment I ended with this yaml file:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nclient:\r\n  ES_JAVA_OPTS_XMS: -Xms512m\r\n  ES_JAVA_OPTS_XMX: -Xmx512m\r\n  replicas: 2\r\n  resources:\r\n    limits:\r\n      cpu: '2'\r\n      mem: 2048Mi\r\n    requests:\r\n      cpu: '0.1'\r\n      mem: 1024Mi\r\ncommon:\r\n  storageClassName: nfs-client\r\n  storageSize: 8Gi\r\ndata:\r\n  ES_JAVA_OPTS_XMS: -Xms768m\r\n  ES_JAVA_OPTS_XMX: -Xmx768m\r\n  replicas: 2\r\n  resources:\r\n    limits:\r\n      cpu: '2'\r\n      mem: 4096Mi\r\n    requests:\r\n      cpu: '0.5'\r\n      mem: 2048Mi\r\nimage:\r\n  repository: harbor-lab.belsoft.ch:443\/connections\r\n  tag: 20210427-114731\r\nmaster:\r\n  ES_JAVA_OPTS_XMS: -Xms512m\r\n  ES_JAVA_OPTS_XMX: -Xmx512m\r\n  replicas: 2\r\n  resources:\r\n    limits:\r\n      cpu: '1'\r\n      mem: 1024Mi\r\n    requests:\r\n      cpu: '0.1'\r\n      mem: 512Mi\r\nnamespace: connect6\r\nnodeAffinityRequired: false\r\ncreateSecret: false\r\nrollingUpdate:\r\n  maxSurge: 1\r\n  maxUnavailable: 0\r\ntag: 20210427-114731\r\n<\/pre>\n<p>That&#8217;s just a first try, maybe it can be reduced even a bit more agressive.<\/p>\n<p>I used this to install the helm chart.<br \/>\n<a href=\"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/selection_1058\/\" rel=\"attachment wp-att-827\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1058-300x75.png\" alt=\"\" width=\"300\" height=\"75\" class=\"alignleft size-medium wp-image-827\" srcset=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1058-300x75.png 300w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1058.png 435w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This setup requires some additional adjustments before you connect connections to elasticsearch: <\/p>\n<p>a) <a href=\"https:\/\/help.hcltechsw.com\/connections\/v7\/admin\/install\/inst_managing_es_index_cnx_typeahead_search.html?hl=shard\" title=\"Replica Count\" rel=\"noopener\" target=\"_blank\">change the number of replicas for quickresults<\/a>. I reduced the es-data to 2 pods, so the replica count should be set to 1 (default is 2). If you don&#8217;t adjust this value, the index will have a yellow or red status.<\/p>\n<p>b) It might be usefull to <a href=\"https:\/\/help.hcltechsw.com\/connections\/v7\/admin\/install\/cp_config_es_number_shards.html?hl=shard\" rel=\"noopener\" target=\"_blank\">reduce the shard counter <\/a>if you plan to use metrics.<\/p>\n<p>If you reduce the number of pods for elasticsearch after your indices have been created you may have a look at the <a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/index-modules.html#dynamic-index-settings\" rel=\"noopener\" target=\"_blank\">index modules api<\/a> to bring your indices into a green state.<\/p>\n<p>After these modifications I&#8217;m down to 6.6G after restart.<br \/>\n<a href=\"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/selection_1059\/\" rel=\"attachment wp-att-828\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1059-300x100.png\" alt=\"\" width=\"300\" height=\"100\" class=\"alignleft size-medium wp-image-828\" srcset=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1059-300x100.png 300w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1059.png 745w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For smaller environments it&#8217;s possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62,54,23],"tags":[67,24,73],"class_list":["post-825","post","type-post","status-publish","format-standard","hentry","category-62","category-component-pack","category-connections","tag-component-pack","tag-connections","tag-downsize"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"For smaller environments it&#039;s possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"umeli\"\/>\n\t<meta name=\"keywords\" content=\"component-pack,connections,downsize,7,component pack\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Urs Meli&#039;s Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli&#039;s Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"For smaller environments it&#039;s possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-02-04T15:39:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-02-08T14:03:51+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@umeli\" \/>\n\t\t<meta name=\"twitter:title\" content=\"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli&#039;s Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"For smaller environments it&#039;s possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@umeli\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#article\",\"name\":\"HCL Component Pack 7 \\u2013 Mulitple Namespaces \\u2013 downsize | Urs Meli's Blog\",\"headline\":\"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize\",\"author\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/Selection_1058.png\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#articleImage\",\"width\":435,\"height\":109},\"datePublished\":\"2022-02-04T16:39:31+01:00\",\"dateModified\":\"2022-02-08T15:03:51+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#webpage\"},\"articleSection\":\"7, component pack, Connections, component-pack, Connections, downsize\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/#listItem\",\"name\":\"Connections\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/#listItem\",\"position\":2,\"name\":\"Connections\",\"item\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/#listItem\",\"name\":\"7\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/#listItem\",\"position\":3,\"name\":\"7\",\"item\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#listItem\",\"name\":\"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/#listItem\",\"name\":\"Connections\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#listItem\",\"position\":4,\"name\":\"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/#listItem\",\"name\":\"7\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#person\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bba650dede6888bd44d79e656db7b6564b4a7e7ba51445cc1c062dd769729e59?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/\",\"name\":\"umeli\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b722f3e7e78b4f1e2b994856370dd7327963f636c5b50078baa80c2c4e411165?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"umeli\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/\",\"name\":\"HCL Component Pack 7 \\u2013 Mulitple Namespaces \\u2013 downsize | Urs Meli's Blog\",\"description\":\"For smaller environments it's possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2022\\\/02\\\/04\\\/hcl-component-pack-7-mulitple-namespaces-downsize\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\"},\"datePublished\":\"2022-02-04T16:39:31+01:00\",\"dateModified\":\"2022-02-08T15:03:51+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/\",\"name\":\"Urs Meli's Blog\",\"description\":\"Mostly harmless\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli's Blog","description":"For smaller environments it's possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl","canonical_url":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/","robots":"max-image-preview:large","keywords":"component-pack,connections,downsize,7,component pack","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#article","name":"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli's Blog","headline":"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize","author":{"@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author"},"publisher":{"@id":"https:\/\/www.ume.li\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/02\/Selection_1058.png","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#articleImage","width":435,"height":109},"datePublished":"2022-02-04T16:39:31+01:00","dateModified":"2022-02-08T15:03:51+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#webpage"},"articleSection":"7, component pack, Connections, component-pack, Connections, downsize"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.ume.li\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/#listItem","name":"Connections"}},{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/#listItem","position":2,"name":"Connections","item":"https:\/\/www.ume.li\/blog\/category\/connections\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/#listItem","name":"7"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/#listItem","position":3,"name":"7","item":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#listItem","name":"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/#listItem","name":"Connections"}},{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#listItem","position":4,"name":"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/#listItem","name":"7"}}]},{"@type":"Person","@id":"https:\/\/www.ume.li\/blog\/#person","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/bba650dede6888bd44d79e656db7b6564b4a7e7ba51445cc1c062dd769729e59?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"Person","@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author","url":"https:\/\/www.ume.li\/blog\/author\/umeli\/","name":"umeli","image":{"@type":"ImageObject","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b722f3e7e78b4f1e2b994856370dd7327963f636c5b50078baa80c2c4e411165?s=96&d=mm&r=g","width":96,"height":96,"caption":"umeli"}},{"@type":"WebPage","@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#webpage","url":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/","name":"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli's Blog","description":"For smaller environments it's possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ume.li\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author"},"creator":{"@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author"},"datePublished":"2022-02-04T16:39:31+01:00","dateModified":"2022-02-08T15:03:51+01:00"},{"@type":"WebSite","@id":"https:\/\/www.ume.li\/blog\/#website","url":"https:\/\/www.ume.li\/blog\/","name":"Urs Meli's Blog","description":"Mostly harmless","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ume.li\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Urs Meli's Blog","og:type":"article","og:title":"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli's Blog","og:description":"For smaller environments it's possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl","og:url":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/","article:published_time":"2022-02-04T15:39:31+00:00","article:modified_time":"2022-02-08T14:03:51+00:00","twitter:card":"summary","twitter:site":"@umeli","twitter:title":"HCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize | Urs Meli's Blog","twitter:description":"For smaller environments it's possible to downsize most of the containers to 1 instance. Except for redis, mongo and elasticsearch. Checking the statefulsets, redis requires 75M to 1G, mongo from 50M to 200M, elasticsearch from 3Gi to 4Gi. Reducing the pods for redis and mongo is not an option. Example scale for mw-proxy [code] kubectl","twitter:creator":"@umeli"},"aioseo_meta_data":{"post_id":"825","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"aioseo-article-634fec4ad8f78","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-02-04 15:01:18","updated":"2025-07-09 09:54:36","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ume.li\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ume.li\/blog\/category\/connections\/\" title=\"Connections\">Connections<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ume.li\/blog\/category\/connections\/7\/\" title=\"7\">7<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHCL Component Pack 7 \u2013 Mulitple Namespaces \u2013 downsize\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ume.li\/blog\/"},{"label":"Connections","link":"https:\/\/www.ume.li\/blog\/category\/connections\/"},{"label":"7","link":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/"},{"label":"HCL Component Pack 7 &#8211; Mulitple Namespaces &#8211; downsize","link":"https:\/\/www.ume.li\/blog\/2022\/02\/04\/hcl-component-pack-7-mulitple-namespaces-downsize\/"}],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=825"}],"version-history":[{"count":4,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/825\/revisions"}],"predecessor-version":[{"id":832,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/825\/revisions\/832"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}