Kubernetes no matches for kind “Deployment” in version “extensions/v1beta1”
问题 I am trying to deploy the next frontend-deployment.yaml in Kubernetes using Jenkins, but I am having the next error: [frontend] Running shell script + kubectl apply -f IKonnekt/frontend-deployment.yaml error: unable to recognize "IKonnekt/frontend-deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" If I run kubectl apply -f IKonnekt/frontend-deployment.yaml from a machine inside the Kubernetes cluster it works fine. Kubernetes Client Version: 1.12.1 Kubernetes