Skip to content

Diagnostic Tools

Overview

HostSpace Kubernetes Engine (HKE) is an enterprise-grade Kubernetes orchestration platform designed for automated scaling, monitoring, and high availability. This documentation focuses on the diagnostic tools available in HKE to help DevOps engineers and platform administrators troubleshoot and maintain their Kubernetes clusters efficiently.

Key Features/Components

  • Logging: Centralized logging of cluster events and application logs.
  • Monitoring: Real-time monitoring of cluster health and performance metrics.
  • Tracing: Trace requests across microservices for debugging.
  • Debugging: Tools to facilitate troubleshooting and debugging applications running on Kubernetes.

Step-by-step instructions or configuration details

  1. Viewing Cluster Logs:

    Terminal window
    kubectl logs <pod_name>
  2. Monitoring Cluster Health:

    Terminal window
    kubectl top nodes
    kubectl top pods
  3. Tracing Requests: Utilize tracing tools like Jaeger or Zipkin for distributed tracing.

Best practices and recommendations

  • Regularly monitor cluster resources to ensure optimal performance.
  • Set up alerts for critical metrics to proactively address issues.
  • Use distributed tracing to identify performance bottlenecks in microservices architecture.
  • kubectl logs: Retrieve logs from a pod.
  • kubectl top: Display resource usage statistics.
  • Jaeger: Distributed tracing system.
  • Zipkin: Distributed tracing system.

Common pitfalls and solutions

This documentation provides an overview of the diagnostic tools available in HostSpace Kubernetes Engine (HKE) to assist in maintaining and troubleshooting Kubernetes clusters effectively.