I have installed the Kubernetes plugin as well as added 2 kubernetes slave nodes in the Jenkins -> Manage Jenkins -> Configure system -> Cloud.
Jenkins -> Manage Jenkins -> Configure system -> Cloud
Then