<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=Kubelet_CPU%2FMemoryAccounting</id>
	<title>Kubelet CPU/MemoryAccounting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=Kubelet_CPU%2FMemoryAccounting"/>
	<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=Kubelet_CPU/MemoryAccounting&amp;action=history"/>
	<updated>2026-06-01T02:38:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=Kubelet_CPU/MemoryAccounting&amp;diff=87&amp;oldid=prev</id>
		<title>DrEdWilliams at 01:59, 11 August 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=Kubelet_CPU/MemoryAccounting&amp;diff=87&amp;oldid=prev"/>
		<updated>2019-08-11T01:59:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:59, 11 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then (for some reason), the systemd configuration has not enabled the CPU/Memory Accounting, and kubelet doesn&amp;#039;t like that ...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then (for some reason), the systemd configuration has not enabled the CPU/Memory Accounting, and kubelet doesn&amp;#039;t like that ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On both Debian 10 and CentOS 7, the parameters are set in the &#039;&#039;&#039;/etc/systemd/system.conf&#039;&#039;&#039; -- uncomment the lines reffering to &#039;&#039;&#039;DefaultCPUAccounting&#039;&#039;&#039; and &#039;&#039;&#039;DefaultMemoryAccounting&#039;&#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;make &lt;/del&gt;sure they are set to &#039;yes&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, then &lt;/del&gt;reload the systemd configuration and restart kubelet:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On both Debian 10 and CentOS 7, the parameters are set in the &#039;&#039;&#039;/etc/systemd/system.conf&#039;&#039;&#039; -- uncomment the lines reffering to &#039;&#039;&#039;DefaultCPUAccounting&#039;&#039;&#039; and &#039;&#039;&#039;DefaultMemoryAccounting&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, making &lt;/ins&gt;sure they are set to &#039;yes&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Then &lt;/ins&gt;reload the systemd configuration and restart kubelet:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  systemctl daemon-reload&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  systemctl daemon-reload&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  systemctl restart kubelet&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  systemctl restart kubelet&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That will stop the messages.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That will stop the messages.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DrEdWilliams</name></author>
	</entry>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=Kubelet_CPU/MemoryAccounting&amp;diff=86&amp;oldid=prev</id>
		<title>DrEdWilliams: Created page with &quot;If you start seeing this type of entry in the system logs:   Aug 10 21:33:50 telmar kubelet[704]: W0810 21:33:50.479159     704 container_manager_linux.go:818] CPUAccounting n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=Kubelet_CPU/MemoryAccounting&amp;diff=86&amp;oldid=prev"/>
		<updated>2019-08-11T01:57:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you start seeing this type of entry in the system logs:   Aug 10 21:33:50 telmar kubelet[704]: W0810 21:33:50.479159     704 container_manager_linux.go:818] CPUAccounting n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you start seeing this type of entry in the system logs:&lt;br /&gt;
&lt;br /&gt;
 Aug 10 21:33:50 telmar kubelet[704]: W0810 21:33:50.479159     704 container_manager_linux.go:818] CPUAccounting not enabled for pid: 704&lt;br /&gt;
 Aug 10 21:33:50 telmar kubelet[704]: W0810 21:33:50.479179     704 container_manager_linux.go:821] MemoryAccounting not enabled for pid: 704&lt;br /&gt;
&lt;br /&gt;
Then (for some reason), the systemd configuration has not enabled the CPU/Memory Accounting, and kubelet doesn&amp;#039;t like that ...&lt;br /&gt;
&lt;br /&gt;
On both Debian 10 and CentOS 7, the parameters are set in the &amp;#039;&amp;#039;&amp;#039;/etc/systemd/system.conf&amp;#039;&amp;#039;&amp;#039; -- uncomment the lines reffering to &amp;#039;&amp;#039;&amp;#039;DefaultCPUAccounting&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;DefaultMemoryAccounting&amp;#039;&amp;#039;&amp;#039; make sure they are set to &amp;#039;yes&amp;#039;, then reload the systemd configuration and restart kubelet:&lt;br /&gt;
 systemctl daemon-reload&lt;br /&gt;
 systemctl restart kubelet&lt;br /&gt;
&lt;br /&gt;
That will stop the messages.&lt;/div&gt;</summary>
		<author><name>DrEdWilliams</name></author>
	</entry>
</feed>