Skip to content

Commit bd7a490

Browse files
docs: add K8s access commands and namespace note to README
1 parent 80b31b4 commit bd7a490

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,13 @@ make k8s-status
143143
# Scale to 5 nodes (or use Minikube Dashboard UI)
144144
make k8s-scale NODES=5
145145

146+
# Access HyperCache from your machine
147+
kubectl port-forward -n hypercache svc/hypercache 9080:9080 8080:8080
148+
# Then: curl http://localhost:9080/health
149+
# Then: redis-cli -p 8080 PING
150+
146151
# Open dashboards
147-
make k8s-dashboard # Kubernetes Dashboard (pods, scaling, logs)
152+
make k8s-dashboard # Kubernetes Dashboard (select "hypercache" namespace)
148153
make k8s-grafana # Grafana (same dashboards as Docker — admin/admin123)
149154

150155
# View logs
@@ -155,6 +160,8 @@ make k8s-down
155160
```
156161

157162
### 📊 Access Points
163+
164+
**Local / Docker:**
158165
| Service | URL | Notes |
159166
|---------|-----|-------|
160167
| Node N HTTP API | http://localhost:9079+N | Health, cache, stores, filter, metrics |
@@ -165,6 +172,14 @@ make k8s-down
165172

166173
Default 3-node cluster: HTTP on 9080/9081/9082, RESP on 8080/8081/8082.
167174

175+
**Kubernetes** (after `kubectl port-forward -n hypercache svc/hypercache 9080:9080 8080:8080`):
176+
| Service | Access | Notes |
177+
|---------|--------|-------|
178+
| HTTP API | http://localhost:9080 | Same APIs as local |
179+
| RESP | `redis-cli -p 8080` | Same commands as local |
180+
| Grafana | `make k8s-grafana` | Opens browser via Minikube tunnel |
181+
| K8s Dashboard | `make k8s-dashboard` | Select "hypercache" namespace |
182+
168183
## 🧪 **Testing**
169184

170185
### Unit Tests

0 commit comments

Comments
 (0)