Makefiles are used to help decide which parts of a large program need to be recompiled.
Make can be installed from here (Optional)*
-
Run in terminal:
kubectl get svc - grafana
-
Copy dns name & run in the browser
-
Add id & pass in the dashboard
-
fetch pass in form of secret key using:
kubectl get secret --namespace <name> grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
-
-
Add data source -> loki by replacing url with -
http://loki:3100
-
Click on Explore -> data source
-
Select Loki
-
Click on type -> choose app
-
Click on name -> choose to fetch logs from
-
Run query
logs fetched successfully using loki of all deployed pods, service.