@Inderpreet@kodekloud-support3@rahul456 I’ve performed the task as per instructions. I’m able to get the end result i.e. deployment is running successfully. I don’t know how you’re verifying the results. After clicking the “Finish” button the Task is showing as failed.
*why pod was in pending state? * Reason: As master node’s hostname is different (controlplane in my case), POD was unable to schedule because it didn’t find the matching node for schedule.
I edited the deployment definition file again and applied the change. Now everything is working fine. You can see the below screenshot.
But again the task is marked as failed.
If master node’s hostname is “controlplane” why should I define nodeSelector field value as ‘master’ ?
@Inderpreet@rahul456@kodekloud-support3
I had similar issue and was not able to complete the task successfully. the instruction says not to change nodeSelector to controlplane but master does not match the hostname. Please check.