<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set cpu/memory resources requests and limits for SAS OpenSearch in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984587#M30730</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for an example on how to set the&amp;nbsp;cpu/memory resources requests and limits for SAS internal OpenSearch.&lt;/P&gt;
&lt;P&gt;I found example files in sas-bases/examples/configure-elasticsearch/internal/topology but none seem to provide an example.&lt;/P&gt;
&lt;P&gt;I also wonder what are the default values as I could not find them too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2026 12:24:21 GMT</pubDate>
    <dc:creator>EyalGonen</dc:creator>
    <dc:date>2026-03-11T12:24:21Z</dc:date>
    <item>
      <title>How to set cpu/memory resources requests and limits for SAS OpenSearch</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984587#M30730</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for an example on how to set the&amp;nbsp;cpu/memory resources requests and limits for SAS internal OpenSearch.&lt;/P&gt;
&lt;P&gt;I found example files in sas-bases/examples/configure-elasticsearch/internal/topology but none seem to provide an example.&lt;/P&gt;
&lt;P&gt;I also wonder what are the default values as I could not find them too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 12:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984587#M30730</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2026-03-11T12:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set cpu/memory resources requests and limits for SAS OpenSearch</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984844#M30743</link>
      <description>In my environment my sas-opendistro-default-0 pod has requests of 500m CPU/2G Memory and limits of 6 CPU/2G Memory.&lt;BR /&gt;&lt;BR /&gt;The opendistro operator uses the heapsize settings from those topology examples to set the memory requests/limits.&lt;BR /&gt;&lt;BR /&gt;You're correct there is no example available for modifying the CPU setting.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2026 19:38:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984844#M30743</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2026-03-16T19:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set cpu/memory resources requests and limits for SAS OpenSearch</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984855#M30746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how the operator calculates the memory request/limit based on the defined heapsize in the topology YAMLs?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how the operator calculates the cpu request/limit? Is there a way to control this? I want to place OpenSearch on a big machine and I want to set the cpu limit to a larger number.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 07:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984855#M30746</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2026-03-17T07:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set cpu/memory resources requests and limits for SAS OpenSearch</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984871#M30748</link>
      <description>I changed my heapsize in the sas-opendistro custom resource to 3G and the memory requests and limits were changed to 6G, so this calculation appears to be heapsize x role count, as mine is a single-node topology so the node has both master and data roles.&lt;BR /&gt;&lt;BR /&gt;$ k get po sas-opendistro-default-0 -o jsonpath='{.spec.containers[0].resources}'&lt;BR /&gt;{"limits":{"cpu":"6","memory":"2G"},"requests":{"cpu":"500m","memory":"2G"}}&lt;BR /&gt;&lt;BR /&gt;$ k patch opendistrocluster sas-opendistro --type='json' -p='[{"op": "replace", "path": "/spec/nodes/0/heapsize","value":"3G"}]'&lt;BR /&gt;&lt;BR /&gt;For CPU, I patched the custom resource path /spec/template/spec/containers/0/resources, and the values I set were what the stateful set had applied.&lt;BR /&gt;&lt;BR /&gt;$ k patch opendistrocluster sas-opendistro --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/resources","value":{"requests":{"cpu":"300m"},"limits":{"cpu":"4"}}}]'&lt;BR /&gt;&lt;BR /&gt;$ k delete sts sas-opendistro-default-0&lt;BR /&gt;&lt;BR /&gt;$ k get po sas-opendistro-default-0 -o jsonpath='{.spec.containers[0].resources}'&lt;BR /&gt;{"limits":{"cpu":"4","memory":"6G"},"requests":{"cpu":"300m","memory":"6G"}}</description>
      <pubDate>Tue, 17 Mar 2026 14:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-set-cpu-memory-resources-requests-and-limits-for-SAS/m-p/984871#M30748</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2026-03-17T14:48:46Z</dc:date>
    </item>
  </channel>
</rss>

