You can use affinity to assign pods to nodes. https://kubernetes.io/docs/concepts/configuration/assign-pod...
But if you want several containers to always be deployed together, you want to put them in the same pod. You do this in the deployment yaml.
https://kubernetes.io/docs/concepts/workloads/pods/pod-overv... https://kubernetes.io/docs/tasks/run-application/run-statele...