Pinning pod to a CPU socket

Does anyone know how to pin a pod to a socket on the node? I have a pod with one container running on a 2 sockets CPU node, I would like 2 pods running with each pin to each socket.


Cluster information:

Kubernetes version: v1.17.4
Cloud being used: bare-metal
Installation method: Rancher
Host OS: Ubuntu 18.04.4
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.