layout | title | permalink | nav_order |
---|---|---|---|
page |
Application Metrics |
/metrics |
9 |
kubectl apply -f exercice-files/lab9-1.yaml
kubectl run -i --rm --restart=Never --image=busybox:latest shell -- wget -qO- http://test-metrics:9001
Generate a token to push metrics
Fill the token in manifest
sed -i 's/COCKPIT/{YOUR TOKEN}/g' exercice-files/lab9-2.yaml
kubectl apply -f exercice-files/lab9-2.yaml
Login using a new grafana user
Search for metrics