Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. That’s exactly opposite of what you intend to do.
apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent nodeSelector: disktype: ssd
Node affinity is conceptually similar to nodeSelector — it allows you to constrain which nodes your pod is eligible to be scheduled on, based on labels on the node.
CLICK HERE to find out more related problems solutions.