I am trying out lab selfservice-review I had to recreate lab due to lab issues I am getting below error attaching screen shot
[student@workstation ~]$ vi template.yaml
[student@workstation ~]$ oc create -f template.yaml -n openshift-config error: resource mapping not found for name: "" namespace: "" from "template. yaml
": no matches for kind "Template" in version "vi" ensure CRDs are installed first
Hi, @Harisr
I'm not following (and I've never followed) this course - "Red Hat OpenShift Administration II: Operating a Production Kubernetes Cluster (DO280)" - but maybe the following two tips are helpful to you:
1 - I suggest that you start a new discussion topic about your problem at https://learn.redhat.com/t5/DO280-Red-Hat-OpenShift/gh-p/DO280RedHatOpenShiftAdministrationIIOperati... (click on the red "Start a topic" button, in that web page, to start / post a new discussion topic)
2 - In that future discussion topic, let me also suggest that you show the content of your template.yaml file as I'm guessing that will be important for someone to help you troubleshoot your issue.
I hope this helps!
@Harisr Please elaborate more on your lab issue. What changes you did in the template yaml ? Check the namespace field as the error suggested, what is the mapping you have provided for that ?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.