Verify access to Prometheus and Grafana by running port forwarding commands in its own separate terminal, instructions also displayed after ’terraform apply’ command completes its run.
kubectl port-forward svc/kube-prometheus-stackr-prometheus 9090:9090 --namespace monitoring
- Access at http://localhost:9090
- Verify that you can see spot metrics by typing “ocean” in graph search bar as per below.
IF OCEAN METRICS ARE NOT VISIBLE PLEASE VERIFY by clicking on Status, Config and making sure that job name propagated correct at the very bottom of the config file as per below:
kubectl port-forward svc/kube-prometheus-stackr-grafana 3000:80 --namespace monitoring
Access
user: admin
pass: prom-operator
Import Spot Metrics Dashboard 16475 via Spot Ocean | Grafana Labs
set datasource to prometheus.
if all successful you should see a connected dashboard as per below.
REFERENCE LINKS
Extra References and Useful Links
EKS creations observed time frame is about 9-13 minutes, the rest should be around 5-10 minutes on top of that.
KNOWN GOTCHAS
If Upgrading Kubernetes Version you might want to remove Prometheus stack, upgrade, then re-install.