Using KOF#
Most of the time, you'll access KOF's data through Grafana.
Access to Grafana#
To make Grafana available, follow these steps:
-
Get the Grafana username and password:
kubectl get secret -n kof grafana-admin-credentials -o yaml | yq '{ "user": .data.GF_SECURITY_ADMIN_USER | @base64d, "pass": .data.GF_SECURITY_ADMIN_PASSWORD | @base64d }'
-
Forward a port to the Grafana dashboard:
kubectl port-forward -n kof svc/grafana-vm-service 3000:3000
-
Login to http://127.0.0.1:3000/dashboards with the username/password printed above.
-
Open a dashboard and select any cluster:
Cluster Overview#
From here you can get an overview of the cluster, including:
- Health metrics
- Resource utilization
- Performance trends
- Cost analysis
Logging Interface#
The logging interface will also be available, including:
- Real-time log streaming
- Full-text search
- Log aggregation
- Alert correlation
Cost Management#
Finally there are the cost management features, including:
- Resource cost tracking
- Usage analysis
- Budget monitoring
- Optimization recommendations
Access to Jaeger#
Jaeger UI of each regional cluster can be accessed by following these steps:
-
Ensure you have the
regional-kubeconfig
file created on the verification step. -
If you've applied the Istio section:
-
Forward a port to the Jaeger UI:
KUBECONFIG=regional-kubeconfig kubectl port-forward \ -n kof svc/kof-storage-jaeger-query 16686:16686
-
Open the link http://127.0.0.1:16686/search and explore the Jaeger UI.
-
-
If you have not applied the Istio section:
-
Ensure you have the
REGIONAL_DOMAIN
variable set on the installation step. -
Get the regional Jaeger username and password:
KUBECONFIG=regional-kubeconfig kubectl get secret \ -n kof jaeger-credentials -o yaml | yq '{ "user": .data.username | @base64d, "pass": .data.password | @base64d }'
-
Get the the Jaeger UI URL, open it, and login with the username/password printed above:
echo https://jaeger.$REGIONAL_DOMAIN
-