While trying to deploy my service.yaml file on GKE as a knative service it throws error:
kubectl create -f k8s\service.yaml
error: unable to recognize "k8s\\service.yaml": no matches for serving.knative.dev/, Kind=Service
Am I missing something?
my service.yaml:
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: revenue-serv
namespace: default
spec:
runLatest:
configuration:
revisionTemplate:
spec:
container:
image: "eu.gcr.io/rcup-mza-dev/knative-spring:latest"