Skip to content

Using KOF#

Most of the time, you'll access KOF's data through Grafana.

Access to Grafana#

To make Grafana available, follow these steps:

  1. 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
    }'
    

  2. Forward a port to the Grafana dashboard:

    kubectl port-forward -n kof svc/grafana-vm-service 3000:3000
    

  3. Login to http://127.0.0.1:3000/dashboards with the username/password printed above.

  4. Open a dashboard and select any cluster:

collect-from-3-cluster-roles

grafana-demo

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:

  1. Ensure you have the regional-kubeconfig file created on the verification step.

  2. 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.

  3. 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