metacontroller icon indicating copy to clipboard operation
metacontroller copied to clipboard

Service-per-pod example: no matches for kind "Deployment" in version "apps/v1beta1"

Open rifqifatih opened this issue 5 years ago • 0 comments

Greetings, I'm trying to follow the example in https://github.com/GoogleCloudPlatform/metacontroller/tree/master/examples/service-per-pod and executing kubectl apply -f service-per-pod.yaml will result in:

error: unable to recognize "service-per-pod.yaml": no matches for kind "Deployment" in version "apps/v1beta1"

Changing the apiVersion to apiVersion: apps/v1 should work.

rifqifatih avatar Jun 18 '20 14:06 rifqifatih