This message was deleted.
# rke2
a
This message was deleted.
c
You would need to follow the instructions in that repository to install it. It is not bundled with either rancher or RKE2.
the autoscaler project is its own thing, that is not managed by us
w
Yeah that repository. I didn't see any instructions other than adding annotations to the machine pool
Is there a different repo that they work in? And do you happen to know it?
c
I’m not sure what you mean
the charts are in that same repo, thats the most common way of deploying it
w
Oh okay. Yeah I didn't go outside of the rke2 folder
c
its a big project that supports many different providers. I would look around a little more and read the install docs.
w
Thank you very much.
I know you're RKE2 team, but perhaps you know the answer? ahh so i have it deployed, but i'm getting unauthorized errors from the rancher API. My question is how do I make a token? https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/rancher#permissions states:
Copy code
The Rancher server account provided in the cloud-config requires the following permissions on the Rancher server:

Get/Update of the <http://clusters.provisioning.cattle.io|clusters.provisioning.cattle.io> resource to autoscale
List of <http://machines.cluster.x-k8s.io|machines.cluster.x-k8s.io> in the namespace of the cluster resource
I don't see in the UI how to set those permissions. Only seems to be cluster scopes? Is there another way to make a token?
c
I think they’re talking about the RBAC for the account associated with the token, not the scope of the token itself.
not sure though
w
ahh i got it
i made a new user and generated the token there vs my account and it worked hehe