Fix redis ssl issues 3
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
- [Step 5.6: Verify Service Images](#step-56-verify-all-service-images-are-available)
|
||||
9. [Phase 6: Deploy Application Services](#phase-6-deploy-application-services)
|
||||
10. [Phase 7: Deploy Optional Services](#phase-7-deploy-optional-services)
|
||||
- [Step 7.5: Deploy Kubernetes Infrastructure Monitoring](#step-75-deploy-kubernetes-infrastructure-monitoring-required-for-signoz-infrastructure-view)
|
||||
11. [Phase 8: Verification & Validation](#phase-8-verification--validation)
|
||||
12. [Post-Deployment Operations](#post-deployment-operations)
|
||||
13. [Troubleshooting Guide](#troubleshooting-guide)
|
||||
@@ -1385,6 +1386,77 @@ kubectl wait --for=condition=available --timeout=600s deployment/signoz-frontend
|
||||
kubectl get pods -n bakery-ia -l app.kubernetes.io/instance=signoz
|
||||
```
|
||||
|
||||
### Step 7.5: Deploy Kubernetes Infrastructure Monitoring (Required for SigNoz Infrastructure View)
|
||||
|
||||
> **Purpose:** Deploy kube-state-metrics and node-exporter to enable Kubernetes infrastructure metrics in SigNoz. Without these components, the SigNoz Infrastructure section will be empty.
|
||||
|
||||
**Components Deployed:**
|
||||
|
||||
| Component | Purpose | Metrics |
|
||||
|-----------|---------|---------|
|
||||
| **kube-state-metrics** | Kubernetes object metrics | Pods, Deployments, Nodes, PVCs, etc. |
|
||||
| **node-exporter** | Host-level metrics | CPU, Memory, Disk, Network |
|
||||
|
||||
**Deploy using the automated script:**
|
||||
|
||||
```bash
|
||||
# Navigate to the k8s-infra monitoring directory
|
||||
cd /root/bakery-ia
|
||||
|
||||
# Make the script executable (if not already)
|
||||
chmod +x infrastructure/monitoring/k8s-infra/deploy-k8s-infra-monitoring.sh
|
||||
|
||||
# Deploy kube-state-metrics and node-exporter
|
||||
./infrastructure/monitoring/k8s-infra/deploy-k8s-infra-monitoring.sh --microk8s install
|
||||
```
|
||||
|
||||
**Upgrade SigNoz to scrape the new metrics:**
|
||||
|
||||
```bash
|
||||
# The signoz-values-prod.yaml already includes the Prometheus receiver configuration
|
||||
# Upgrade SigNoz to apply the scraping configuration
|
||||
microk8s helm3 upgrade signoz signoz/signoz \
|
||||
-n bakery-ia \
|
||||
-f infrastructure/monitoring/signoz/signoz-values-prod.yaml
|
||||
```
|
||||
|
||||
**Verify deployment:**
|
||||
|
||||
```bash
|
||||
# Check pods are running
|
||||
microk8s kubectl get pods -n bakery-ia | grep -E "(kube-state|node-exporter)"
|
||||
|
||||
# Expected output:
|
||||
# kube-state-metrics-xxxxxxxxxx-xxxxx 1/1 Running 0 1m
|
||||
# node-exporter-prometheus-node-exporter-xxxxx 1/1 Running 0 1m
|
||||
|
||||
# Check status
|
||||
./infrastructure/monitoring/k8s-infra/deploy-k8s-infra-monitoring.sh --microk8s status
|
||||
```
|
||||
|
||||
**Verify metrics in SigNoz:**
|
||||
|
||||
After a few minutes, you should see:
|
||||
- **Infrastructure → Kubernetes**: Pod status, deployments, nodes, PVCs
|
||||
- **Infrastructure → Hosts**: CPU, memory, disk, network usage
|
||||
|
||||
**Troubleshooting:**
|
||||
|
||||
```bash
|
||||
# Check if metrics are being scraped
|
||||
microk8s kubectl port-forward svc/kube-state-metrics 8080:8080 -n bakery-ia &
|
||||
curl localhost:8080/metrics | head -20
|
||||
|
||||
# Check OTel Collector logs for scraping errors
|
||||
microk8s kubectl logs -l app.kubernetes.io/name=signoz-otel-collector -n bakery-ia --tail=50
|
||||
```
|
||||
|
||||
> **Files Location:**
|
||||
> - Helm values: `infrastructure/monitoring/k8s-infra/kube-state-metrics-values.yaml`
|
||||
> - Helm values: `infrastructure/monitoring/k8s-infra/node-exporter-values.yaml`
|
||||
> - Deploy script: `infrastructure/monitoring/k8s-infra/deploy-k8s-infra-monitoring.sh`
|
||||
> - Documentation: `infrastructure/monitoring/k8s-infra/README.md`
|
||||
|
||||
---
|
||||
|
||||
## Phase 8: Verification & Validation
|
||||
|
||||
Reference in New Issue
Block a user