Prometheus with Openshift 3.2
Create Service accounts for the project you deploying the prometheus pod. oc create serviceaccount -n oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:: oc create serviceaccount metrics -n paas-prometheus oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:paas-prometheus:metrics Creating the Docker image #Base Image FROM docker.io/prom/prometheus #copy the config yaml file to the directory ADD prometheus.yml /etc/prometheus/ #expose the port EXPOSE 9090 Prometheus.yml File global: scrape_interval: 10s evaluation_interval: 10s rule_files: - "*.rules" scrape_configs: - job_name: 'kubernetes-cluster' tls_config: ca_file: /var/run/secrets/kubernetes....