Commit 9dcaf11
committed
feat: full Kubernetes deployment with monitoring stack
K8s manifest fixes:
- Fixed image to rishabhverma17/hypercache:latest (was wrong name)
- Dynamic seed: only seed with node-0, gossip propagates the rest
- Simplified init container to wait for seed node only
- Updated config to match new defaults (TTL=0, multi-store, max_stores=16)
New K8s monitoring stack (k8s/monitoring.yaml):
- Elasticsearch StatefulSet + Service
- Filebeat DaemonSet with RBAC (auto-ships logs from all pods)
- Grafana Deployment with pre-configured datasources
New K8s dashboards (k8s/grafana-dashboards.yaml):
- Same 3 Grafana dashboards as Docker (Health, Performance, System)
- Loaded via ConfigMap — no manual setup needed
Makefile targets:
- make k8s-up/down/scale/status/logs/dashboard/grafana
Usage: kubectl apply -f k8s/ (deploys everything)
Scale: make k8s-scale NODES=5 or use Minikube Dashboard UI1 parent d6ef4fe commit 9dcaf11
5 files changed
Lines changed: 704 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
119 | 152 | | |
120 | 153 | | |
121 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
133 | 132 | | |
134 | | - | |
135 | | - | |
| 133 | + | |
| 134 | + | |
136 | 135 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
140 | 155 | | |
141 | 156 | | |
142 | 157 | | |
| |||
259 | 274 | | |
260 | 275 | | |
261 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
262 | 284 | | |
263 | 285 | | |
264 | 286 | | |
| |||
0 commit comments