<p>I have a pod with single binary with multiple threads in that application. Is it possible in Kubernetes to assign specific thread to specific CPU core inside the pod. I am aware of way to limit pod to work in specific cores, but my requirement is to manage thread mapping inside the pod to specific cores. Thank you.</p>

<p>The lowest level that you can set up <strong>CPU Policies</strong> is at Container level. We can divide a Kubernetes cluster into namespaces. If you create a Pod within a namespace that has a default CPU limit, and any container in that Pod does not specify its own CPU limit, then the control plane assigns the default CPU limit to that container. Visit this <a href="https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/" rel="nofollow noreferrer">Official Kubernetes Documentation</a> for more reference.</p>
<p>From the inside of the Container, the only possibility could be <a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sec-tuna-cpu-tuning" rel="nofollow noreferrer">RedHat Tuna</a>. Tuna commands can target individual CPUs.</p>
<p>The last possibility is the <a href="https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy" rel="nofollow noreferrer"><strong>Static CPU policy</strong></a>   which allows containers in Guaranteed pods with integer CPU requests access to exclusive CPUs on the node.</p>
<p>Finally, the following <a href="https://stackoverflow.com/questions/53276398/kubernetes-cpu-multithreading">question</a> is useful for you, regarding multi threads and CPU assignments.</p>
