Hi, I am trying to deploy this example to Openshift and getting into some issues.
First I got an error executing the command
oc new-app -f C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole.yaml -p NAMESPACE=prometheus
It got resolved by changing the following in 'prometheus3.7_with_clusterrole.yaml'
apiVersion: template.openshift.io/v1
apiVersion: v1
now when I try to do the
C:\Softwares\openshift-origin-client>oc new-app -f C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole.
yaml -p NAMESPACE=prometheus
--> Deploying template "prometheus/prometheus" for "C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole
.yaml" to project prometheus
Prometheus
---------
A monitoring solution for an OpenShift cluster - collect and gather metrics
and alerts from nodes, services, and the infrastructure. This is a tech preview
feature.
Hi, I am trying to deploy this example to Openshift and getting into some issues.
First I got an error executing the command oc new-app -f C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole.yaml -p NAMESPACE=prometheus
It got resolved by changing the following in 'prometheus3.7_with_clusterrole.yaml'
apiVersion: template.openshift.io/v1
apiVersion: v1
now when I try to do the
C:\Softwares\openshift-origin-client>oc new-app -f C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole. yaml -p NAMESPACE=prometheus --> Deploying template "prometheus/prometheus" for "C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole .yaml" to project prometheus
and alerts from nodes, services, and the infrastructure. This is a tech preview feature.
error: object does not implement the Object interfaces
Please advise and thanks in advance!