Hi,
I am getting below error in 4b of week 5 exercise, while installing datasource for grafana
$ kubectl -n cass-operator create -f ./prometheus_grafana/grafana/datasource.yaml error: unable to recognize "./prometheus_grafana/grafana/datasource.yaml": no matches for kind "GrafanaDataSource" in version "integreatly.org/v1alpha1"
Please help in resolving the issue.
Thanks,
Mohit
[UPDATE] The grafana operator is running however, not seen in watch output.
I have a corei5 8gb laptop with Ubuntu running.
$ kubectl -n cass-operator create -f ./prometheus_grafana/grafana/operator.yaml Error from server (AlreadyExists): error when creating "./prometheus_grafana/grafana/operator.yaml": subscriptions.operators.coreos.com "grafana-operator" already exists
$ watch kubectl -n cass-operator get pods NAME READY STATUS RESTARTS AGE cass-operator-56fcb9ff47-nblkx 1/1 Running 6 5d17h prometheus-default-0 3/3 Running 4 3d1h prometheus-operator-cc5458b99-9plvd 1/1 Running 4 3d1h
$ kubectl -n cass-operator create -f ./prometheus_grafana/grafana/datasource.yaml error: unable to recognize "./prometheus_grafana/grafana/datasource.yaml": no matches for kind "GrafanaDataSource" in version "integreatly.org/v1alpha1"