Skip to content

Commit 05ae562

Browse files
committed
feat: add Kubernetes cluster analysis and ASCII diagram documentation
1 parent 20939ab commit 05ae562

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

docs/k8s-cluster-diagram.txt

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
KUBERNETES CLUSTER ANALYSIS & ASCII DIAGRAM
2+
===========================================
3+
4+
CLUSTER OVERVIEW:
5+
- Platform: Docker Desktop (Single Node)
6+
- Version: v1.32.2
7+
- Control Plane: https://127.0.0.1:6443
8+
- Node: docker-desktop (192.168.65.3)
9+
10+
┌─────────────────────────────────────────────────────────────────────────────────────┐
11+
│ KUBERNETES CLUSTER (Docker Desktop) │
12+
│ 192.168.65.3 │
13+
└─────────────────────────────────────────────────────────────────────────────────────┘
14+
15+
┌───────────────────────┼───────────────────────┐
16+
│ │ │
17+
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
18+
│ CONTROL PLANE │ │ KUBE-SYSTEM │ │ DEFAULT NS │
19+
│ │ │ NAMESPACE │ │ NAMESPACE │
20+
└───────────────┘ └───────────────┘ └───────────────┘
21+
│ │ │
22+
┌───────────────────────┐ │ ┌───────────────────┐
23+
│ • kube-apiserver │ │ │ MY-CHART APP │
24+
│ • etcd │ │ │ (Helm Release) │
25+
│ • kube-controller-mgr│ │ └───────────────────┘
26+
│ • kube-scheduler │ │ │
27+
└───────────────────────┘ │ ┌───────────────────┐
28+
│ │ APPLICATION TIER │
29+
┌───────────────┐ │ │
30+
│ • CoreDNS x2 │ │ ┌───────────────┐ │
31+
│ • kube-proxy │ │ │ APP v1 x2 │ │
32+
│ • storage- │ │ │ (Pods) │ │
33+
│ provisioner │ │ └───────────────┘ │
34+
│ • vpnkit-ctrl │ │ ┌───────────────┐ │
35+
└───────────────┘ │ │ APP v2 x2 │ │
36+
│ │ (Pods) │ │
37+
│ └───────────────┘ │
38+
└───────────────────┘
39+
40+
┌───────────────────┐
41+
│ DATABASE TIER │
42+
│ │
43+
│ ┌───────────────┐ │
44+
│ │ PostgreSQL │ │
45+
│ │ (1 Pod) │ │
46+
│ │ + PV (1Gi) │ │
47+
│ └───────────────┘ │
48+
│ ┌───────────────┐ │
49+
│ │ Redis │ │
50+
│ │ (1 Pod) │ │
51+
│ └───────────────┘ │
52+
└───────────────────┘
53+
54+
NETWORK & SERVICES:
55+
┌─────────────────────────────────────────────────────────────────────────────────────┐
56+
│ SERVICE MESH │
57+
├─────────────────────────────────────────────────────────────────────────────────────┤
58+
│ │
59+
│ ┌─────────────────┐ ┌──────────────────┐ ┌─────────────────────────────────┐ │
60+
│ │ LoadBalancer │ │ ClusterIP │ │ ClusterIP │ │
61+
│ │ spring-app-svc │ │ postgres-db-svc │ │ redis-db-svc │ │
62+
│ │ Port: 80 │ │ Port: 5432 │ │ Port: 6379 │ │
63+
│ │ External: :31730│ │ IP: 10.109.103. │ │ IP: 10.99.26.127 │ │
64+
│ │ External: local │ │ 168 │ │ │ │
65+
│ └─────────────────┘ └──────────────────┘ └─────────────────────────────────┘ │
66+
│ │ │ │ │
67+
│ ▼ ▼ ▼ │
68+
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
69+
│ │ App v1 │ │PostgreSQL│ │ Redis │ │
70+
│ │ App v2 │ │ Database │ │ Database │ │
71+
│ │ (4 Pods) │ │ (1 Pod) │ │ (1 Pod) │ │
72+
│ └──────────┘ └──────────┘ └──────────┘ │
73+
└─────────────────────────────────────────────────────────────────────────────────────┘
74+
75+
STORAGE:
76+
┌─────────────────────────────────────────────────────────────────────────────────────┐
77+
│ Persistent Volume: app-release-my-chart-postgres-pv-volume │
78+
│ • Capacity: 1Gi │
79+
│ • Access Mode: ReadWriteOnce (RWO) │
80+
│ • Reclaim Policy: Retain │
81+
│ • Storage Class: manual │
82+
│ • Status: Bound to postgres PVC │
83+
└─────────────────────────────────────────────────────────────────────────────────────┘
84+
85+
POD DISTRIBUTION BY IP RANGES:
86+
┌─────────────────────────────────────────────────────────────────────────────────────┐
87+
│ Control Plane Network (Host): 192.168.65.3 │
88+
│ • kube-apiserver, etcd, controller-manager, scheduler, kube-proxy │
89+
│ │
90+
│ Pod Network: 10.1.2.x │
91+
│ • 10.1.2.160-169: Application and system pods │
92+
│ • Load balanced across single node │
93+
└─────────────────────────────────────────────────────────────────────────────────────┘
94+
95+
CLUSTER HEALTH STATUS:
96+
✅ All pods: Running (15/15)
97+
✅ All deployments: Ready
98+
✅ All services: Active
99+
✅ Storage: Bound and accessible
100+
✅ DNS: CoreDNS operational (2 replicas)
101+
⚠️ Single node setup (no HA)
102+
⚠️ No metrics server (resource monitoring limited)
103+
ℹ️ No ingress controller detected

0 commit comments

Comments
 (0)