Kubernetes, DevOps, Programming, Software Development, Cloud Computing.
pod specification with CPU affinity: apiVersion: v1 kind: Pod metadata: name: cpu-affinity-example spec: containers: - name: container1 image: nginx resources: requests: cpu: "2" limits: cpu: "4" affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: -