Skip to content

Troubleshooting Guide

1 HPA Not Scaling

  1. Check HPA status:
   kubectl describe hpa <hpa-name> -n <namespace>
  1. Verify metrics:
   kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/namespaces/default/pods/*/http_requests_per_second" | jq .
  1. Check Prometheus Adapter logs:
       kubectl logs -l app=prometheus-adapter -n <namespace>
    

2 Prometheus Not Scraping Metrics

  1. Check Prometheus targets:

   kubectl port-forward svc/prometheus 9090:9090 -n <namespace>
Then visit http://localhost:9090/targets

  1. Verify scrape config:
       kubectl get configmap prometheus-server -n <namespace> -o yaml
    

.3 Application Not Exposing Metrics

  1. Check if metrics endpoint is accessible:

       kubectl port-forward svc/<app-service> 8080:8080 -n <namespace>
       curl http://localhost:8080/metrics
    

  2. Verify application logs:

       kubectl logs <pod-name> -n <namespace>
    

11. Pricing and Licensing

  • Free Usage: Helm chart available for free.
  • Annual Support Licensing: ₹1,000 INR/year.
  • Includes email support and regular updates.

Connect

  • karti479@gmail.com
  • https://www.linkedin.com/in/product-kartik/