crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.25k stars 237 forks source link

[QE] Review e2e image #4040

Open adrianriobo opened 7 months ago

adrianriobo commented 7 months ago

We need to review the current e2e image to adapt it to the common stack used across qe:

adrianriobo commented 6 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/