Hi @Tej_Singh_Rana @Vijin Palazhi I am taking mock exam 3
For Question Number 6 regarding tainting nodes.
after adding toleration while I try to run a pod on node01 its not getting scheduled on node01 it runs on node02 instead. Below is the code which I tried.
apiVersion: v1 kind: Pod metadata: name: prod-redis spec: containers: - name: prod-redis image: redis:alpine tolerations: - effect: NoSchedule key: env_type operator: Equal value: production
But later it worked while I added the nodeSelector parameter.
- image: redis:alpine
- effect: NoSchedule
where it is going wrong…?