|
|
|
|
|
|
# Verify you have the required tools
kubectl version --client
helm version
git version
docker --versionπ¦ Deploy with Helm (Recommended)
# 1. Clone the repository
git clone https://github.com/your-org/infraguardian.git
cd infraguardian
# 2. Install InfraGuardian
helm install infraguardian ./infraguardian
# 3. Verify installation
kubectl get all -n infraguardianThat's it! π InfraGuardian is now running in your cluster.
π³ Custom Installation Options
# Install in specific namespace
helm install infraguardian ./infraguardian \
--namespace monitoring \
--create-namespace
# Install with custom values
helm install infraguardian ./infraguardian \
-f custom-values.yaml
# Dry run to see what will be installed
helm install infraguardian ./infraguardian --dry-run --debuggraph TB
subgraph "Kubernetes Cluster"
A[InfraGuardian Core] --> B[Prometheus]
A --> C[Kubernetes API]
B --> D[Restarts]
B --> E[kube-state-metrics]
A --> F[Grafana]
A --> G[Alert Manager]
G --> H[Slack]
end
I[Users] --> A
I --> F
style A fill:#00d9ff,stroke:#333,stroke-width:3px,color:#000
style B fill:#e6522c,stroke:#333,stroke-width:2px
style F fill:#f46800,stroke:#333,stroke-width:2px
style G fill:#ff6b6b,stroke:#333,stroke-width:2px
| Component | Description | Technology |
|---|---|---|
| InfraGuardian Core | Main monitoring engine | Node.js + Express |
| Prometheus | Metrics collection and storage | Prometheus |
| Grafana | Data visualization | Grafana |
| Alert Manager | Alert routing and management | Prometheus AlertManager |
| Kubernetes API | Cluster state monitoring | Kubernetes |
# Port forward to your local machine
kubectl port-forward -n infraguardian svc/infra-guardian-core 3000:3000
# Open in browser
open http://localhost:3000# Stream application logs
kubectl logs -f -n infraguardian -l app=infra-guardian-core
# View last 100 lines
kubectl logs -n infraguardian -l app=infra-guardian-core --tail=100# Scale to 3 replicas
kubectl scale deployment infra-guardian-core -n infraguardian --replicas=3
# Verify scaling
kubectl get pods -n infraguardian# Update with new values
helm upgrade infraguardian ./infraguardian -f new-values.yaml
# Rollback if needed
helm rollback infraguardianWe love contributions! π Here's how you can help:
π Report Bugs
Found a bug? Open an issue with:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Environment details
β¨ Request Features
Have an idea? Open a feature request with:
- Use case description
- Proposed solution
- Alternative approaches
If you find InfraGuardian helpful, please consider:
β Starring this repository
π¦ Sharing on social media
π Writing a blog post
π£οΈ Speaking at meetups
Built with β€οΈ by the InfraGuardian Team
β‘ Powered by Kubernetes | π₯ Monitored by Prometheus | π Visualized by Grafana


