Document URL: https://docs.openshift.com/container-platform/4.1/logging/efk-logging-eventrouter.html#efk-logging-eventrouter-deploy-efk-logging-curator Section Number and Name: efk-logging-eventrouter-deploy-efk-logging-curator Describe the issue: Creating a resource from the template produces the following error: oc create -f event_fwd.yaml error: unable to recognize "event_fwd.yaml": no matches for /, Kind=Template Changing apiVersion to: apiVersion: template.openshift.io/v1 Suggestions for improvement: Additional information:
Edit: Changing apiVersion in template to: apiVersion: template.openshift.io/v1 works
I retried this on a new cluster install and the original instructions work now. I will try to reproduce and re-open if I can.
I was able to reproduce the problem again.
@rvanderp, which cluster version are you using?
Works for me also. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.1.0-rc.1 True False 41m Cluster version is 4.1.0-rc.1 $ oc process -f event-router.yaml | oc apply -f - serviceaccount/cluster-logging-eventrouter unchanged clusterrole.authorization.openshift.io/event-reader created clusterrolebinding.authorization.openshift.io/event-reader-binding created configmap/cluster-logging-eventrouter created deployment.apps/cluster-logging-eventrouter created $ oc get pods --selector component=eventrouter -o name pod/cluster-logging-eventrouter-5866f97957-b58jr