Open rifqifatih opened 4 years ago
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:
kubectl apply -f service-per-pod.yaml
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.
apiVersion: apps/v1
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:Changing the apiVersion to
apiVersion: apps/v1
should work.