metacontroller
metacontroller copied to clipboard
Service-per-pod example: no matches for kind "Deployment" in version "apps/v1beta1"
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.