Kubernetes
Enable Telemetry Metrics
Telemetry metrics allow you to monitor system performance and detect issues such as increased latency or errors.
- Update the Helm Chart Configuration: Modify your Helm chart or Kubernetes deployment manifest to enable metrics:
telemetry:
metrics:
enabled: true
port: 8080
- Deploy the Changes: Apply the updated configuration:
kubectl apply -f akeyless-gateway-deployment.yaml
- Configure Prometheus: Add the following scrape configuration to your Prometheus setup:
scrape_configs:
- job_name: 'akeyless-gateway'
static_configs:
- targets: ['akeyless-gateway-service:8080']
- Visualize in Grafana:
- Import the Prometheus data source into Grafana.
- Create dashboards for metrics such as Request Rates, Response Times, and Error Rates.
Log Forwarding
Log forwarding centralizes logs for analysis and troubleshooting.
- Enable Log Forwarding: Modify the Helm chart or Kubernetes deployment manifest:
logForwarding:
enabled: true
destination:
type: loki
url: http://loki:3100
- Apply the Changes: Deploy the updated configuration:
kubectl apply -f akeyless-gateway-deployment.yaml
- Verify Logs:
- Check that logs are being forwarded to your configured destination.
- Use Loki, Splunk, or Elasticsearch for querying and visualization.
Updated 30 days ago