<?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>article High Disk usage under csi driver path &amp;quot;csi.oneagent.dynatrace.com&amp;quot; while using Dynatrace Operator Cloud Native Full Stack in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/High-Disk-usage-under-csi-driver-path-quot-csi-oneagent/ta-p/277102</link>
    <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;H1&gt;Summary&amp;nbsp;&lt;/H1&gt;
&lt;P&gt;This article walks you through validating a known situation of high disk usage on Kubernetes Nodes where the OA CSI Driver is running and provides a workaround via a Dynakube configuration change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that these observations and provided numbers are all experience-based and subject to environmental differences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Problem&lt;/H1&gt;
&lt;P&gt;The problem presents itself as high disk usage due to OneAgent code module libraries being duplicated into each container's specific paths instead of being downloaded once and shared between all deeply monitored containers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Troubleshooting steps&lt;/H1&gt;
&lt;P&gt;Confirm disk usage by logging into your Kubernetes nodes and validating the following path using the du tool:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;cd /var/lib/kubelet/plugins/csi.oneagent.dynatrace.com/data
du -xh -d2
1.6G    ./_dynakubes/&amp;lt;Dynakube CRD Name&amp;gt;
1.6G    ./_dynakubes
1004M   ./codemodules/&amp;lt;Currently deployed OA Code Module version&amp;gt;
2.0G    ./codemodules
44K     ./appmounts/csi-596216c7ef94c7c5de0ad9bac898a9c4790698fa698c64b4f7c16ff65f8b0ab2
44K     ./appmounts/csi-b061260662a103676a7e8f63e567c9fd4f118cbff61e5b70d97bcf1db34954f1
44K     ./appmounts/csi-3a0ea8f3b5e1f921c5f0d617bb6d86e0326869397c420bc922832e81349d3f43
136K    ./appmounts
3.6G    . &lt;/LI-CODE&gt;
&lt;P&gt;In the above example the container specific , ie ./appmounts/* , folders and their children are only using 44K each and the larger data usage is centralized under ./_dynakubes and ./codemodules as we would normally expect to see.&lt;BR /&gt;&lt;BR /&gt;However, it is possible to see usage closer to 1000M or more per folder if the codemodules are being fully copied into each directory instead of being referenced from the base ./codemodules/* folders due to unexpected filesystem operations such as file metadata alterations etc.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please note that all of these paths and values can change based on deployment details (i.e. the name of your dynakube custom resource and the version of the Dynatrace Operator used). Depending on your Operator version you may see ./pods/* instead of ./appmounts/* within the above du output.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;More details overall about the overall disk space requirements including ephemeral storage under the kubelet root directory can be found &lt;A href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/storage#overview" target="_blank" rel="noopener"&gt;within our documentation here.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;H1&gt;Resolution&lt;/H1&gt;
&lt;P&gt;Currently there are two options available to workaround this situation.&lt;/P&gt;
&lt;H2&gt;Option 1&lt;/H2&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; 1. convert the CSI driver mounts to read only mode using the available dynakube flag:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;apiVersion: dynatrace.com/v1beta2
kind: DynaKube
metadata:
  name: dynakube
  namespace: dynatrace
  annotations:
    feature.dynatrace.com/injection-readonly-volume: "true"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-feature-flags" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-feature-flags&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. After making this annotation change and reapplying the dynakube.yaml file, recycle the pods to have the config change take effect and see the disk usage decrease.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Option 2&lt;/H2&gt;
&lt;P&gt;Upgrade to Dynatrace Operator version 1.5.0+ so you can use Cloud Native Full Stack without the CSI Driver:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/release-notes-dto-fix-1-5-0#new-features-and-enhancements" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/release-notes-dto-fix-1-5-0#new-features-and-enhancements&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*** Usage of DT Operator 1.5.1 or above is recommended over 1.5.0 due to critical patches&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Choosing not to use the CSI driver will result in higher ephemeral storage usage within the pods as a side effect of this implementation.&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;What's next&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;If this article didn't help or you would like to investigate further, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="p-client_container"&gt;
&lt;DIV class="p-ia4_client_container"&gt;
&lt;DIV class="p-ia4_client p-ia4_client--with-search-in-top-nav p-ia4_client--workspace-switcher-rail-visibletest p-ia4_client--sidebar-wide p-ia4_client--narrow-feature-on"&gt;
&lt;DIV class="p-client_workspace_wrapper" role="tabpanel" aria-label="Dynatrace"&gt;
&lt;DIV class="p-client_workspace" role="tabpanel" aria-label="DMs"&gt;
&lt;DIV class="p-client_workspace__layout"&gt;
&lt;DIV class="active-managed-focus-container" role="none"&gt;
&lt;DIV class="p-view_contents p-view_contents--primary" tabindex="-1" role="dialog" aria-label="Conversation with Anton Konikov"&gt;
&lt;DIV class="tabbed_channel__Abx5r"&gt;
&lt;DIV class="tabbed_channel__Abx5r"&gt;
&lt;DIV class="channel_tab_panel__zJ5Bt c-tabs__tab_panel c-tabs__tab_panel--active c-tabs__tab_panel--full_height" role="none" data-qa="tabs_content_container"&gt;
&lt;DIV class="p-file_drag_drop__container"&gt;
&lt;DIV class="p-workspace__primary_view_body"&gt;
&lt;DIV class="p-message_pane p-message_pane--classic-nav p-message_pane--scrollbar-float-adjustment p-message_pane--with-bookmarks-bar" data-qa="message_pane"&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV class="c-virtual_list c-virtual_list--scrollbar c-message_list c-message_list--floating c-message_list--dark c-scrollbar c-scrollbar--fade" role="presentation"&gt;
&lt;DIV class="c-scrollbar__hider" role="presentation" data-qa="slack_kit_scrollbar"&gt;
&lt;DIV class="c-scrollbar__child" role="presentation"&gt;
&lt;DIV class="c-virtual_list__scroll_container" tabindex="-1" role="list" data-qa="slack_kit_list" aria-label="Anton Konikov (direct message, active)"&gt;
&lt;DIV id="1734101723.604509" class="c-virtual_list__item" tabindex="0" role="listitem" aria-setsize="-1" data-qa="virtual-list-item" data-item-key="1734101723.604509"&gt;
&lt;DIV class="c-message_kit__background p-message_pane_message__message c-message_kit__message p-message_pane_message__message--last" role="presentation" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV class="c-message_kit__hover" role="document" aria-roledescription="message" data-qa-hover="true"&gt;
&lt;DIV class="c-message_kit__actions c-message_kit__actions--above"&gt;
&lt;DIV class="c-message_kit__gutter"&gt;
&lt;DIV class="c-message_kit__gutter__right" role="presentation" data-qa="message_content"&gt;
&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;
&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text" data-qa="message-text"&gt;
&lt;DIV class="p-block_kit_renderer" data-qa="block-kit-renderer"&gt;
&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;
&lt;DIV class="p-rich_text_block" dir="auto"&gt;
&lt;UL class="p-rich_text_list p-rich_text_list__bullet p-rich_text_list--nested" data-stringify-type="unordered-list" data-list-tree="true" data-indent="0" data-border="1" data-border-radius-top-cap="0"&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="1"&gt;link to an impacted host in your environment&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="1"&gt;screenshots or text copies of the du -xh command output&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="1"&gt;information about any security or access related software such as SELinux.&lt;A id="link_7" class="page-link lia-link-navigation lia-custom-event" href="https://community.dynatrace.com/t5/Troubleshooting/" target="_self"&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 17 Sep 2025 14:06:11 GMT</pubDate>
    <dc:creator>ryan_korteway</dc:creator>
    <dc:date>2025-09-17T14:06:11Z</dc:date>
    <item>
      <title>High Disk usage under csi driver path "csi.oneagent.dynatrace.com" while using Dynatrace Operator Cloud Native Full Stack</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/High-Disk-usage-under-csi-driver-path-quot-csi-oneagent/ta-p/277102</link>
      <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;H1&gt;Summary&amp;nbsp;&lt;/H1&gt;
&lt;P&gt;This article walks you through validating a known situation of high disk usage on Kubernetes Nodes where the OA CSI Driver is running and provides a workaround via a Dynakube configuration change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that these observations and provided numbers are all experience-based and subject to environmental differences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Problem&lt;/H1&gt;
&lt;P&gt;The problem presents itself as high disk usage due to OneAgent code module libraries being duplicated into each container's specific paths instead of being downloaded once and shared between all deeply monitored containers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Troubleshooting steps&lt;/H1&gt;
&lt;P&gt;Confirm disk usage by logging into your Kubernetes nodes and validating the following path using the du tool:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;cd /var/lib/kubelet/plugins/csi.oneagent.dynatrace.com/data
du -xh -d2
1.6G    ./_dynakubes/&amp;lt;Dynakube CRD Name&amp;gt;
1.6G    ./_dynakubes
1004M   ./codemodules/&amp;lt;Currently deployed OA Code Module version&amp;gt;
2.0G    ./codemodules
44K     ./appmounts/csi-596216c7ef94c7c5de0ad9bac898a9c4790698fa698c64b4f7c16ff65f8b0ab2
44K     ./appmounts/csi-b061260662a103676a7e8f63e567c9fd4f118cbff61e5b70d97bcf1db34954f1
44K     ./appmounts/csi-3a0ea8f3b5e1f921c5f0d617bb6d86e0326869397c420bc922832e81349d3f43
136K    ./appmounts
3.6G    . &lt;/LI-CODE&gt;
&lt;P&gt;In the above example the container specific , ie ./appmounts/* , folders and their children are only using 44K each and the larger data usage is centralized under ./_dynakubes and ./codemodules as we would normally expect to see.&lt;BR /&gt;&lt;BR /&gt;However, it is possible to see usage closer to 1000M or more per folder if the codemodules are being fully copied into each directory instead of being referenced from the base ./codemodules/* folders due to unexpected filesystem operations such as file metadata alterations etc.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please note that all of these paths and values can change based on deployment details (i.e. the name of your dynakube custom resource and the version of the Dynatrace Operator used). Depending on your Operator version you may see ./pods/* instead of ./appmounts/* within the above du output.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;More details overall about the overall disk space requirements including ephemeral storage under the kubelet root directory can be found &lt;A href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/storage#overview" target="_blank" rel="noopener"&gt;within our documentation here.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;H1&gt;Resolution&lt;/H1&gt;
&lt;P&gt;Currently there are two options available to workaround this situation.&lt;/P&gt;
&lt;H2&gt;Option 1&lt;/H2&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; 1. convert the CSI driver mounts to read only mode using the available dynakube flag:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;apiVersion: dynatrace.com/v1beta2
kind: DynaKube
metadata:
  name: dynakube
  namespace: dynatrace
  annotations:
    feature.dynatrace.com/injection-readonly-volume: "true"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-feature-flags" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-feature-flags&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. After making this annotation change and reapplying the dynakube.yaml file, recycle the pods to have the config change take effect and see the disk usage decrease.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Option 2&lt;/H2&gt;
&lt;P&gt;Upgrade to Dynatrace Operator version 1.5.0+ so you can use Cloud Native Full Stack without the CSI Driver:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/release-notes-dto-fix-1-5-0#new-features-and-enhancements" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/release-notes-dto-fix-1-5-0#new-features-and-enhancements&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*** Usage of DT Operator 1.5.1 or above is recommended over 1.5.0 due to critical patches&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Choosing not to use the CSI driver will result in higher ephemeral storage usage within the pods as a side effect of this implementation.&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;What's next&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;If this article didn't help or you would like to investigate further, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="p-client_container"&gt;
&lt;DIV class="p-ia4_client_container"&gt;
&lt;DIV class="p-ia4_client p-ia4_client--with-search-in-top-nav p-ia4_client--workspace-switcher-rail-visibletest p-ia4_client--sidebar-wide p-ia4_client--narrow-feature-on"&gt;
&lt;DIV class="p-client_workspace_wrapper" role="tabpanel" aria-label="Dynatrace"&gt;
&lt;DIV class="p-client_workspace" role="tabpanel" aria-label="DMs"&gt;
&lt;DIV class="p-client_workspace__layout"&gt;
&lt;DIV class="active-managed-focus-container" role="none"&gt;
&lt;DIV class="p-view_contents p-view_contents--primary" tabindex="-1" role="dialog" aria-label="Conversation with Anton Konikov"&gt;
&lt;DIV class="tabbed_channel__Abx5r"&gt;
&lt;DIV class="tabbed_channel__Abx5r"&gt;
&lt;DIV class="channel_tab_panel__zJ5Bt c-tabs__tab_panel c-tabs__tab_panel--active c-tabs__tab_panel--full_height" role="none" data-qa="tabs_content_container"&gt;
&lt;DIV class="p-file_drag_drop__container"&gt;
&lt;DIV class="p-workspace__primary_view_body"&gt;
&lt;DIV class="p-message_pane p-message_pane--classic-nav p-message_pane--scrollbar-float-adjustment p-message_pane--with-bookmarks-bar" data-qa="message_pane"&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV class="c-virtual_list c-virtual_list--scrollbar c-message_list c-message_list--floating c-message_list--dark c-scrollbar c-scrollbar--fade" role="presentation"&gt;
&lt;DIV class="c-scrollbar__hider" role="presentation" data-qa="slack_kit_scrollbar"&gt;
&lt;DIV class="c-scrollbar__child" role="presentation"&gt;
&lt;DIV class="c-virtual_list__scroll_container" tabindex="-1" role="list" data-qa="slack_kit_list" aria-label="Anton Konikov (direct message, active)"&gt;
&lt;DIV id="1734101723.604509" class="c-virtual_list__item" tabindex="0" role="listitem" aria-setsize="-1" data-qa="virtual-list-item" data-item-key="1734101723.604509"&gt;
&lt;DIV class="c-message_kit__background p-message_pane_message__message c-message_kit__message p-message_pane_message__message--last" role="presentation" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV class="c-message_kit__hover" role="document" aria-roledescription="message" data-qa-hover="true"&gt;
&lt;DIV class="c-message_kit__actions c-message_kit__actions--above"&gt;
&lt;DIV class="c-message_kit__gutter"&gt;
&lt;DIV class="c-message_kit__gutter__right" role="presentation" data-qa="message_content"&gt;
&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;
&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text" data-qa="message-text"&gt;
&lt;DIV class="p-block_kit_renderer" data-qa="block-kit-renderer"&gt;
&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;
&lt;DIV class="p-rich_text_block" dir="auto"&gt;
&lt;UL class="p-rich_text_list p-rich_text_list__bullet p-rich_text_list--nested" data-stringify-type="unordered-list" data-list-tree="true" data-indent="0" data-border="1" data-border-radius-top-cap="0"&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="1"&gt;link to an impacted host in your environment&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="1"&gt;screenshots or text copies of the du -xh command output&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="1"&gt;information about any security or access related software such as SELinux.&lt;A id="link_7" class="page-link lia-link-navigation lia-custom-event" href="https://community.dynatrace.com/t5/Troubleshooting/" target="_self"&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Sep 2025 14:06:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/High-Disk-usage-under-csi-driver-path-quot-csi-oneagent/ta-p/277102</guid>
      <dc:creator>ryan_korteway</dc:creator>
      <dc:date>2025-09-17T14:06:11Z</dc:date>
    </item>
  </channel>
</rss>

