Kubernetes Deep Dive

Sign Up Free or Log In to participate!

Networking Demo – error: unable to recognize “ping-deploy.yml”: no matches for kind “Deployment” in version “”

Hi All, 

When following the demo in GCP. When I run the apply command I get the following, 

USER@cloudshell:~/K8-Networking-Demo (PROJECT_ID)$ kubectl apply -f ping-deploy.yml –validate=false

error: unable to recognize "ping-deploy.yml": no matches for kind "Deployment" in version ""

My cluster is running verison 1.12.10-gke.15 if that helps. 

Thanks, 

Marc

1 Answers

Looks like you need to check apiVersion in your ping-deploy.yml

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?