https://rancher.com/ logo
Title
c

colossal-florist-91634

10/24/2022, 5:25 PM
I have a production cluster with virtual machines for the control plane and bare metal servers for workers. When I run rke up/update, I add extra args to my cluster.yaml for kubelet to respect certain reserved memory and cpu On multipurpose nodes. However only the bare metal nodes need this and if it applies to master nodes, then they will use the reserved cpu and memory amounts which I don’t want (only want that for workers). Is there a way to target specific nodes for the cluster.yaml to apply to? This is blocking me from upgrading kubernetes.
Example kubelet config in my cluster.yml:
kubelet:
    extra_args:
      max-pods: 250
      system-reserved: memory=13885Mi
      reserved-cpus: 0,1,64,65
It seems like I need to migrate from rke v1.3.5 to rke2. It also seems like there is no clear migration path. Help?
s

shy-lawyer-95631

10/25/2022, 2:59 PM
i think migration is not possible since are diferent technologies
c

colossal-florist-91634

10/25/2022, 3:01 PM
I'm going to try the steps outlined here: https://github.com/rancher/rke2/issues/562
Why does Rancher still promote RKE if rke2 is out and better?