How to limit resource usage of binary processes running on worker nodes?

How to limit resource usage of binary processes running on worker nodes?

Cluster information:

Kubernetes version: v1.26.3
Installation method: kubeadm
Host OS: Ubuntu 20.04.6 LTS
CRI and version: containerd 1.6.19