Open adrianriobo opened 7 months ago
For metrics we can not set them up from the outside, we need to add a flag within the e2e which enables them;
Once cluster has been started, ssh into machine and:
kubectl --kubeconfig /opt/kubeconfig proxy --port 52200 &
curl gateway.containers.internal/services/forwarder/expose -X POST -d '{"127.0.01":":52500","remote":"192.168.127.2:52200"}'
Now we can use from host curl http://localhost:52200/metrics
and got prometheus metrics on the cluster
Some visualization idea: https://grafana.com/grafana/dashboards/3870-openshift-k8-cluster-overview/
We need to review the current e2e image to adapt it to the common stack used across qe: