Getting the below error while trying to run a Jenkins pipeline for deployment on a Kubernetes cluster.
Can't construct a java object for tag:yaml.org,2002:io.kubernetes.client.openapi.models.V1Service; exception=Class not found: io.kubernetes.client.openapi.models.V1Service
in 'reader', line 1, column 1:
apiVersion: v1
I am using Jenkins 2.249, Kubernetes Continuous Deployment Plugin 2.3.0, Kubernetes (Master & Slave) v1.18.5. Please help