UiPath Documentation
automation-suite
2.2510
true
Automation Suite on Linux installation guide

How to migrate to cgroup v2

Migrate host nodes from cgroup v1 to cgroup v2 in Automation Suite on Linux.

To migrate your host VM nodes from cgroup v1 to cgroup v2:

  1. Put the cluster in maintenance mode.
  2. Perform the following steps sequentially on every node:
    1. Drain the node:

      kubectl drain <node-name> --ignore-daemonsets --delete-emptydir-data
      kubectl drain <node-name> --ignore-daemonsets --delete-emptydir-data
      
    2. Enable cgroup v2:

      sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=1"
      sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=1"
      
    3. Reboot the node.

    4. After the node reboots, verify the migration:

      stat -fc %T /sys/fs/cgroup/
      stat -fc %T /sys/fs/cgroup/
      

      The command should return cgroup2fs.

    5. Uncordon the node:

      kubectl uncordon <node-name>
      kubectl uncordon <node-name>
      

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated