<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Rancher autoscaler &#8211; Enable RKE2 node autoscaling	</title>
	<atom:link href="https://www.dbi-services.com/blog/rancher-autoscaler-enable-rke2-node-autoscaling/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbi-services.com/blog/rancher-autoscaler-enable-rke2-node-autoscaling/</link>
	<description></description>
	<lastBuildDate>Mon, 10 Jun 2024 09:45:17 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Kévin Keovilay		</title>
		<link>https://www.dbi-services.com/blog/rancher-autoscaler-enable-rke2-node-autoscaling/#comment-3320</link>

		<dc:creator><![CDATA[Kévin Keovilay]]></dc:creator>
		<pubDate>Mon, 10 Jun 2024 06:51:02 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/?p=28479#comment-3320</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbi-services.com/blog/rancher-autoscaler-enable-rke2-node-autoscaling/#comment-3316&quot;&gt;alfiann11&lt;/a&gt;.

Hello,

This role should be added in the cluster role of Rancher and not on the downstream cluster.

You can follow this other article where I talk about the cluster roles for Rancher for the autoscaler.
&lt;a href=&quot;https://www.dbi-services.com/blog/rancher-rke2-rancher-roles-for-cluster-autoscaler/&quot; rel=&quot;ugc&quot;&gt;https://www.dbi-services.com/blog/rancher-rke2-rancher-roles-for-cluster-autoscaler/&lt;/a&gt;
Here I was using an admin account, therefore the token used already have all the permissions. That&#039;s why I skipped that part.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbi-services.com/blog/rancher-autoscaler-enable-rke2-node-autoscaling/#comment-3316">alfiann11</a>.</p>
<p>Hello,</p>
<p>This role should be added in the cluster role of Rancher and not on the downstream cluster.</p>
<p>You can follow this other article where I talk about the cluster roles for Rancher for the autoscaler.<br />
<a href="https://www.dbi-services.com/blog/rancher-rke2-rancher-roles-for-cluster-autoscaler/" rel="ugc">https://www.dbi-services.com/blog/rancher-rke2-rancher-roles-for-cluster-autoscaler/</a><br />
Here I was using an admin account, therefore the token used already have all the permissions. That&#8217;s why I skipped that part.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: alfiann11		</title>
		<link>https://www.dbi-services.com/blog/rancher-autoscaler-enable-rke2-node-autoscaling/#comment-3316</link>

		<dc:creator><![CDATA[alfiann11]]></dc:creator>
		<pubDate>Fri, 07 Jun 2024 21:02:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/?p=28479#comment-3316</guid>

					<description><![CDATA[Hi, thanks for your comprehensive how-to.

I had followed carefully your steps, however I&#039;ve encountered an issue in autoscaler pods, it says:

│ I0607 20:53:54.304401       1 cloud_provider_builder.go:29] Building rancher cloud provider.                                                       │
│ F0607 20:53:54.522891       1 rancher_provider.go:69] failed to create rancher cloud provider: failed to find API group &quot;cluster.x-k8s.io&quot;

I have added to my ClusterRole, according to this new docs: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/rancher/README.md:
```
  - apiGroups: [&quot;provisioning.cattle.io&quot;]
    resources: [&quot;clusters&quot;]
    verbs: [&quot;get&quot;, &quot;update&quot;]
  - apiGroups: [&quot;cluster.x-k8s.io&quot;]
    resources: [&quot;machines&quot;]
    verbs: [&quot;list&quot;]
```

However, it stays the same state.

My RKE2 is v1.28.9 +rke2r1.

Any help will be appreciated, thanks!]]></description>
			<content:encoded><![CDATA[<p>Hi, thanks for your comprehensive how-to.</p>
<p>I had followed carefully your steps, however I&#8217;ve encountered an issue in autoscaler pods, it says:</p>
<p>│ I0607 20:53:54.304401       1 cloud_provider_builder.go:29] Building rancher cloud provider.                                                       │<br />
│ F0607 20:53:54.522891       1 rancher_provider.go:69] failed to create rancher cloud provider: failed to find API group &#8220;cluster.x-k8s.io&#8221;</p>
<p>I have added to my ClusterRole, according to this new docs: <a href="https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/rancher/README.md" rel="nofollow ugc">https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/rancher/README.md</a>:<br />
&#8220;`<br />
  &#8211; apiGroups: [&#8220;provisioning.cattle.io&#8221;]<br />
    resources: [&#8220;clusters&#8221;]<br />
    verbs: [&#8220;get&#8221;, &#8220;update&#8221;]<br />
  &#8211; apiGroups: [&#8220;cluster.x-k8s.io&#8221;]<br />
    resources: [&#8220;machines&#8221;]<br />
    verbs: [&#8220;list&#8221;]<br />
&#8220;`</p>
<p>However, it stays the same state.</p>
<p>My RKE2 is v1.28.9 +rke2r1.</p>
<p>Any help will be appreciated, thanks!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: www.dbi-services.com @ 2026-09-27 19:16:49 by W3 Total Cache
-->