feat: base infra 문서 SSOT 작성
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
그림의 정본 — <이름>/{context.json, spec.json, prompt.md}.
|
||||
technical-visualizer 스킬이 만든다. 손으로 SVG 를 그리지 않는다.
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "dashboard-authority-loop",
|
||||
"title": "UI 편집이 권위가 되지 못하는 자리",
|
||||
"question": "대시보드를 UI 에서 고치면 왜 남지 않는가?",
|
||||
"type": "architecture",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"Grafana 를 쓰는 운영자",
|
||||
"대시보드를 고치려는 사람"
|
||||
],
|
||||
"summary": "Git 의 JSON 이 desired state 이고, 사이드카가 ConfigMap 을 WATCH 해 파일로 떨군 뒤 Grafana file provider 가 30초마다 읽는다. UI 편집은 이 고리 밖이라 다음 동기화에서 덮인다.",
|
||||
"alt": "Git JSON 이 desired state 로, 사이드카가 controller 로, Grafana 가 actual state 로 놓이고 파일 provider 가 30초마다 되돌리는 고리를 이루는 구조도. UI 편집은 이 고리 바깥에서 actual state 에만 닿는다.",
|
||||
"long_description": "Git 저장소의 dashboard JSON 이 desired state 다. Kustomize 가 disableNameSuffixHash 로 안정 이름 ConfigMap 을 만들고 grafana_dashboard=1 label 을 붙인다. grafana-sc-dashboard 사이드카는 observability namespace 의 ConfigMap 을 list 와 watch 만 할 수 있는 Role 로 WATCH 하고, 변경을 /tmp/dashboards 에 반영한다. Grafana file provider 가 30초마다 그 디렉터리를 읽어 actual state 를 맞춘다. allowUiUpdates 는 false 이고 각 dashboard JSON 도 editable 이 false 라, 브라우저에서 고친 것은 이 고리에 들어가지 못하고 다음 동기화에서 덮인다. main Grafana 컨테이너는 ServiceAccount token 을 automount 하지 않으므로 Kubernetes API 로 스스로 상태를 되돌릴 수도 없다.",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "11.7 Grafana — Git 이 권위다",
|
||||
"line": 1306
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "reconciliation-loop",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"declarative-vm"
|
||||
],
|
||||
"rationale": "본문 §11.7 은 desired state(Git JSON), watch 하는 주체(사이드카), actual state(Grafana), 그리고 30초마다 되돌리는 되먹임을 모두 적는다. 「UI 편집이 왜 안 남는가」는 고리의 바깥에 있다는 사실로만 설명되므로 reconcile 문법이 맞다.",
|
||||
"focus_node": "sidecar"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "git",
|
||||
"label": "Git JSON",
|
||||
"kind": "config",
|
||||
"role": "desired-state",
|
||||
"details": [
|
||||
"안정 이름 ConfigMap",
|
||||
"editable: false"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1309,
|
||||
"end_line": 1310
|
||||
},
|
||||
{
|
||||
"start_line": 1321,
|
||||
"end_line": 1323
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary",
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "sidecar",
|
||||
"label": "dashboard 사이드카",
|
||||
"kind": "service",
|
||||
"role": "controller",
|
||||
"details": [
|
||||
"ConfigMap watch 전용",
|
||||
"Secret 권한 없음"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1309,
|
||||
"end_line": 1310
|
||||
},
|
||||
{
|
||||
"start_line": 1317,
|
||||
"end_line": 1319
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "grafana",
|
||||
"label": "Grafana file provider",
|
||||
"kind": "service",
|
||||
"role": "actual-state",
|
||||
"details": [
|
||||
"/tmp/dashboards",
|
||||
"scan 30s",
|
||||
"allowUiUpdates: false"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1309,
|
||||
"end_line": 1310
|
||||
},
|
||||
{
|
||||
"start_line": 1313,
|
||||
"end_line": 1315
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "ui",
|
||||
"label": "브라우저 UI 편집",
|
||||
"kind": "actor",
|
||||
"role": "status",
|
||||
"details": [
|
||||
"비권위 상태"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1313,
|
||||
"end_line": 1315
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "box"
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "r1",
|
||||
"from": "git",
|
||||
"to": "sidecar",
|
||||
"label": "생성",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1309,
|
||||
"end_line": 1310
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "r2",
|
||||
"from": "sidecar",
|
||||
"to": "grafana",
|
||||
"label": "WATCH",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1309,
|
||||
"end_line": 1310
|
||||
},
|
||||
{
|
||||
"start_line": 1317,
|
||||
"end_line": 1319
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "r3",
|
||||
"from": "grafana",
|
||||
"to": "ui",
|
||||
"label": "표시",
|
||||
"kind": "response",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1313,
|
||||
"end_line": 1315
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "r4",
|
||||
"from": "ui",
|
||||
"to": "git",
|
||||
"label": "되돌릴 경로 없음",
|
||||
"kind": "response",
|
||||
"style": "dashed",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1313,
|
||||
"end_line": 1315
|
||||
},
|
||||
{
|
||||
"start_line": 1317,
|
||||
"end_line": 1319
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,212 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "edge-trust-chain",
|
||||
"title": "신뢰할 수 있는 hostname 이 만들어지는 순서",
|
||||
"question": "클라이언트가 보낸 헤더는 어느 홉에서 버려지고, backend 가 믿는 값은 어디서 만들어지는가?",
|
||||
"type": "sequence",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"플랫폼 운영자",
|
||||
"이 경로 뒤에 OIDC 서비스를 붙이려는 개발자"
|
||||
],
|
||||
"summary": "클라이언트가 보낸 Host 와 X-Forwarded-* 는 Host Nginx 에서 상수로 덮어써진다. Traefik 은 그 뒤 source 10.42.0.1/32 에서 온 헤더만 신뢰하고, backend 는 그 결과만 본다. 세 단계가 같은 방향을 보기 때문에 헤더 주입으로 issuer 가 바뀌지 않는다.",
|
||||
"alt": "왼쪽부터 클라이언트, Host Nginx, Traefik, backend 네 참가자의 생명선이 있고, 클라이언트가 임의 헤더를 보내면 Host Nginx 가 상수로 덮어쓰고 loopback 으로 넘긴 뒤 Traefik 이 source 를 확인하고 backend 로 전달하는 순서를 번호가 붙은 화살표로 보여 주는 시퀀스 다이어그램.",
|
||||
"long_description": "1) 클라이언트가 HTTPS 443 으로 요청을 보낸다. 이 요청에는 임의의 Host 와 X-Forwarded-* 가 들어 있을 수 있다. 2) Host Nginx 는 등록되지 않은 SNI 를 ssl_reject_handshake 로 거부한다. 3) 관리 hostname 셋에서는 source allowlist 192.168.0.0/24 와 100.64.0.0/10 만 통과시키고 나머지는 거부한다. 4) Host 와 X-Forwarded-Host 를 상수 hostname 으로, X-Forwarded-Proto 를 https, X-Forwarded-Port 를 443 으로 덮어쓰고 X-Forwarded-For 와 X-Real-IP 를 접속 주소로 다시 쓴다. 5) 다섯 server block 이 모두 같은 loopback upstream 127.0.0.1:30080 으로 넘긴다. NodePort 는 kube-proxy nodeport-addresses=127.0.0.0/8 로 loopback 에만 묶여 있어 LAN 에서는 연결되지 않는다. 6) Traefik 의 web entrypoint 는 forwardedHeaders.trustedIPs 가 10.42.0.1/32 하나뿐이므로 그 source 에서 온 헤더만 신뢰한다. 7) Traefik 이 Host 기반 Ingress 로 backend 에 전달하고, backend 는 상수로 고정된 hostname 만 본다.",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "4. 엣지 — TLS 를 한 번 끊고 그 뒤로는 평문이다",
|
||||
"line": 240
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "sequence",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"payment-approval-sequence"
|
||||
],
|
||||
"rationale": "본문 §4.1·§4.4·§4.5 가 같은 요청 한 건에 대해 순서가 있는 변환을 기술한다. 덮어쓰기와 신뢰 판정이 어느 홉에서 일어나는지가 요점이므로 정적 구조도가 아니라 순서가 있는 메시지 교환으로 그린다.",
|
||||
"focus_node": "nginx"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "client",
|
||||
"label": "클라이언트",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 268,
|
||||
"end_line": 273
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "nginx",
|
||||
"label": "Host Nginx",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 244,
|
||||
"end_line": 288
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "traefik",
|
||||
"label": "Traefik web",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 333,
|
||||
"end_line": 339
|
||||
},
|
||||
{
|
||||
"start_line": 358,
|
||||
"end_line": 376
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "backend",
|
||||
"label": "backend 파드",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 276,
|
||||
"end_line": 278
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "m1",
|
||||
"from": "client",
|
||||
"to": "nginx",
|
||||
"label": "HTTPS 443 + 임의 Host, X-Forwarded-*",
|
||||
"kind": "request",
|
||||
"order": 1,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 268,
|
||||
"end_line": 273
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m2",
|
||||
"from": "nginx",
|
||||
"to": "nginx",
|
||||
"label": "미등록 SNI → ssl_reject_handshake",
|
||||
"kind": "control",
|
||||
"order": 2,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 252,
|
||||
"end_line": 258
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m3",
|
||||
"from": "nginx",
|
||||
"to": "nginx",
|
||||
"label": "source allowlist → deny all",
|
||||
"kind": "control",
|
||||
"order": 3,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 280,
|
||||
"end_line": 288
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m4",
|
||||
"from": "nginx",
|
||||
"to": "nginx",
|
||||
"label": "Host, X-Forwarded-* 상수 덮어쓰기",
|
||||
"kind": "control",
|
||||
"order": 4,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 268,
|
||||
"end_line": 273
|
||||
},
|
||||
{
|
||||
"start_line": 276,
|
||||
"end_line": 278
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "m5",
|
||||
"from": "nginx",
|
||||
"to": "traefik",
|
||||
"label": "http 127.0.0.1:30080",
|
||||
"kind": "request",
|
||||
"order": 5,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 262,
|
||||
"end_line": 263
|
||||
},
|
||||
{
|
||||
"start_line": 333,
|
||||
"end_line": 339
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m6",
|
||||
"from": "traefik",
|
||||
"to": "traefik",
|
||||
"label": "trustedIPs 10.42.0.1/32 대조",
|
||||
"kind": "control",
|
||||
"order": 6,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 358,
|
||||
"end_line": 376
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "m7",
|
||||
"from": "traefik",
|
||||
"to": "backend",
|
||||
"label": "Host 기반 Ingress",
|
||||
"kind": "request",
|
||||
"order": 7,
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 276,
|
||||
"end_line": 278
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,558 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "observability-signal-paths",
|
||||
"title": "세 신호가 각각 다른 길로 들어와 두 곳에서 만난다",
|
||||
"question": "metric·log·trace 는 각각 어느 경로로 들어와 어디에 앉고, 사람에게는 어디서 보이는가?",
|
||||
"type": "data-flow",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"플랫폼 운영자",
|
||||
"이 플랫폼에 계측을 붙이려는 애플리케이션 개발자"
|
||||
],
|
||||
"summary": "metric 은 Prometheus 가 pull 하고, log 는 Alloy 가 노드의 /var/log/pods 를 읽어 Loki 로 밀며, trace 는 애플리케이션이 Alloy 의 OTLP 로 밀어 Tempo 로 간다. 세 신호는 Grafana 에서 만나고, metric 만 Alertmanager 를 거쳐 Slack 으로 나간다.",
|
||||
"alt": "왼쪽의 호스트 커널·파일시스템, /var/log/pods, 애플리케이션 OTLP 세 출처에서 출발한 화살표가 node-exporter 와 Alloy 를 거쳐 Prometheus·Loki·Tempo 로 들어가고, Loki 와 Tempo 의 객체만 AIStor S3 로 내려가며, 세 저장소가 모두 Grafana 로 모이고 Prometheus 만 Alertmanager 를 통해 Slack 으로 나가는 데이터 흐름도.",
|
||||
"long_description": "수집 계층은 observability-agent namespace 다. Alloy DaemonSet 이 노드의 /var/log/pods 를 read-only hostPath 로 읽어 Loki 의 3100 으로 밀고, 애플리케이션의 OTLP/gRPC 4317 을 받아 Tempo 의 4317 로 민다. node-exporter 는 호스트 지표를 노출만 하고, Prometheus 가 그것을 끌어간다. Prometheus 는 kube-state-metrics 와 Blackbox Exporter 도 끌어간다. 저장 계층은 observability namespace 다. Prometheus 는 로컬 TSDB 20Gi 에 15일 또는 16GB 까지 담고, Loki 와 Tempo 는 로컬 PV 를 WAL 로만 쓰고 본 객체를 AIStor S3 의 loki 버킷과 tempo 버킷에 보낸다. 조회는 Grafana 한 곳에서 한다. 경보는 Prometheus 가 평가해 Alertmanager 로 보내고 Alertmanager 만 공개 HTTPS 443 으로 나가 Slack 에 전달한다. 이 그림의 화살표는 TCP 연결을 거는 쪽이 아니라 데이터가 흐르는 쪽을 가리킨다. Prometheus 와 Grafana 는 스스로 연결을 걸지만 데이터는 target 과 backend 에서 그쪽으로 온다. Prometheus 는 Alloy 와 Loki 자신의 지표도 끌어가지만 이 그림에서는 세 신호의 경로를 흐리지 않도록 생략했다.",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "11. 관측성 — 세 신호가 각각 다른 길로 들어온다",
|
||||
"line": 1076
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "component-flow",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
],
|
||||
"rationale": "본문 §11.1·§11.6 이 metric·log·trace 세 신호의 방향을 각각 다르게 적는다. metric 은 pull, 나머지 둘은 push 이고 도착지도 다르다. 방향이 다른 세 경로가 어디서 합류하는지를 보여야 하므로 directed data path 문법을 쓴다.",
|
||||
"focus_node": "prometheus"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "host",
|
||||
"label": "호스트 커널·파일시스템",
|
||||
"kind": "infrastructure",
|
||||
"role": "source",
|
||||
"details": [
|
||||
"CPU·메모리",
|
||||
"filesystem·inode"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1083,
|
||||
"end_line": 1083
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "podlogs",
|
||||
"label": "/var/log/pods",
|
||||
"kind": "storage",
|
||||
"role": "source",
|
||||
"details": [
|
||||
"hostPath, read-only",
|
||||
"이 노드의 파드만"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1083,
|
||||
"end_line": 1083
|
||||
},
|
||||
{
|
||||
"start_line": 1266,
|
||||
"end_line": 1272
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "app-otlp",
|
||||
"label": "애플리케이션 OTLP",
|
||||
"kind": "external",
|
||||
"role": "source",
|
||||
"details": [
|
||||
"gRPC :4317",
|
||||
"현재 송신자 없음"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1084,
|
||||
"end_line": 1084
|
||||
},
|
||||
{
|
||||
"start_line": 1290,
|
||||
"end_line": 1297
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "node-exporter",
|
||||
"label": "node-exporter",
|
||||
"kind": "service",
|
||||
"role": "source",
|
||||
"details": [
|
||||
"DaemonSet",
|
||||
"호스트 CPU·메모리·FS·inode"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1082,
|
||||
"end_line": 1084
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "alloy",
|
||||
"label": "Alloy",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"details": [
|
||||
"DaemonSet",
|
||||
"[REDACTED] 마스킹",
|
||||
"label 6개로 제한"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1082,
|
||||
"end_line": 1084
|
||||
},
|
||||
{
|
||||
"start_line": 1263,
|
||||
"end_line": 1283
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "ksm",
|
||||
"label": "kube-state-metrics",
|
||||
"kind": "service",
|
||||
"role": "source",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1095,
|
||||
"end_line": 1095
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "blackbox",
|
||||
"label": "Blackbox Exporter",
|
||||
"kind": "service",
|
||||
"role": "source",
|
||||
"details": [
|
||||
":9115",
|
||||
"probe group 3벌"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1095,
|
||||
"end_line": 1095
|
||||
},
|
||||
{
|
||||
"start_line": 1152,
|
||||
"end_line": 1154
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "prometheus",
|
||||
"label": "Prometheus",
|
||||
"kind": "database",
|
||||
"role": "service",
|
||||
"details": [
|
||||
"TSDB 20Gi",
|
||||
"15d / 16GB",
|
||||
"scrape 30s"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1089,
|
||||
"end_line": 1090
|
||||
},
|
||||
{
|
||||
"start_line": 1128,
|
||||
"end_line": 1130
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "alertmanager",
|
||||
"label": "Alertmanager",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"details": [
|
||||
":9093",
|
||||
"보존 120h"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1093,
|
||||
"end_line": 1094
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "loki",
|
||||
"label": "Loki",
|
||||
"kind": "database",
|
||||
"role": "store",
|
||||
"details": [
|
||||
":3100",
|
||||
"WAL 5Gi",
|
||||
"보존 30일"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1089,
|
||||
"end_line": 1090
|
||||
},
|
||||
{
|
||||
"start_line": 1266,
|
||||
"end_line": 1272
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "tempo",
|
||||
"label": "Tempo",
|
||||
"kind": "database",
|
||||
"role": "store",
|
||||
"details": [
|
||||
":4317 / :3200",
|
||||
"WAL 5Gi",
|
||||
"보존 7일"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1089,
|
||||
"end_line": 1090
|
||||
},
|
||||
{
|
||||
"start_line": 1290,
|
||||
"end_line": 1297
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "aistor",
|
||||
"label": "AIStor S3",
|
||||
"kind": "storage",
|
||||
"role": "store",
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"loki 버킷",
|
||||
"tempo 버킷"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1092,
|
||||
"end_line": 1093
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "grafana",
|
||||
"label": "Grafana",
|
||||
"kind": "service",
|
||||
"role": "sink",
|
||||
"details": [
|
||||
":3000",
|
||||
"dashboard 5"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1097,
|
||||
"end_line": 1097
|
||||
},
|
||||
{
|
||||
"start_line": 1321,
|
||||
"end_line": 1323
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "slack",
|
||||
"label": "Slack",
|
||||
"kind": "external",
|
||||
"role": "sink",
|
||||
"details": [
|
||||
"public HTTPS 443"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1097,
|
||||
"end_line": 1097
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "m0",
|
||||
"from": "host",
|
||||
"to": "node-exporter",
|
||||
"label": "metric",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1082,
|
||||
"end_line": 1084
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m1",
|
||||
"from": "node-exporter",
|
||||
"to": "prometheus",
|
||||
"label": "",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1086,
|
||||
"end_line": 1087
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m2",
|
||||
"from": "ksm",
|
||||
"to": "prometheus",
|
||||
"label": "오브젝트 상태",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1095,
|
||||
"end_line": 1095
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "m3",
|
||||
"from": "blackbox",
|
||||
"to": "prometheus",
|
||||
"label": "probe 결과",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1095,
|
||||
"end_line": 1095
|
||||
},
|
||||
{
|
||||
"start_line": 1152,
|
||||
"end_line": 1154
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "l1",
|
||||
"from": "podlogs",
|
||||
"to": "alloy",
|
||||
"label": "log",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1083,
|
||||
"end_line": 1083
|
||||
},
|
||||
{
|
||||
"start_line": 1266,
|
||||
"end_line": 1272
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "t1",
|
||||
"from": "app-otlp",
|
||||
"to": "alloy",
|
||||
"label": "trace",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1084,
|
||||
"end_line": 1084
|
||||
},
|
||||
{
|
||||
"start_line": 1290,
|
||||
"end_line": 1297
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "l2",
|
||||
"from": "alloy",
|
||||
"to": "loki",
|
||||
"label": "push :3100",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1086,
|
||||
"end_line": 1087
|
||||
},
|
||||
{
|
||||
"start_line": 1266,
|
||||
"end_line": 1272
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "t2",
|
||||
"from": "alloy",
|
||||
"to": "tempo",
|
||||
"label": "push :4317",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1086,
|
||||
"end_line": 1087
|
||||
},
|
||||
{
|
||||
"start_line": 1290,
|
||||
"end_line": 1297
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "a1",
|
||||
"from": "prometheus",
|
||||
"to": "alertmanager",
|
||||
"label": "alert",
|
||||
"kind": "publish",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1093,
|
||||
"end_line": 1094
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "s1",
|
||||
"from": "loki",
|
||||
"to": "aistor",
|
||||
"label": "chunk",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1092,
|
||||
"end_line": 1093
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "s2",
|
||||
"from": "tempo",
|
||||
"to": "aistor",
|
||||
"label": "",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1092,
|
||||
"end_line": 1093
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "q1",
|
||||
"from": "prometheus",
|
||||
"to": "grafana",
|
||||
"label": "query",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1097,
|
||||
"end_line": 1097
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "q2",
|
||||
"from": "loki",
|
||||
"to": "grafana",
|
||||
"label": "query",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1097,
|
||||
"end_line": 1097
|
||||
},
|
||||
{
|
||||
"start_line": 1266,
|
||||
"end_line": 1272
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "q3",
|
||||
"from": "tempo",
|
||||
"to": "grafana",
|
||||
"label": "query",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1097,
|
||||
"end_line": 1097
|
||||
},
|
||||
{
|
||||
"start_line": 1290,
|
||||
"end_line": 1297
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "a2",
|
||||
"from": "alertmanager",
|
||||
"to": "slack",
|
||||
"label": "HTTPS 443",
|
||||
"kind": "publish",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1097,
|
||||
"end_line": 1097
|
||||
},
|
||||
{
|
||||
"start_line": 1101,
|
||||
"end_line": 1102
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,394 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "platform-request-path",
|
||||
"title": "요청 하나가 지나는 다섯 홉",
|
||||
"question": "바깥에서 온 HTTPS 요청 하나는 어느 홉을 거쳐 어느 파드와 어느 저장소에 닿는가?",
|
||||
"type": "deployment",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"플랫폼 운영자",
|
||||
"이 클러스터에 서비스를 새로 붙이려는 개발자"
|
||||
],
|
||||
"summary": "공개 인터넷·LAN·Tailscale에서 온 요청은 호스트의 Nginx 한 곳에서만 TLS가 끊기고, loopback NodePort 하나를 통해 클러스터로 들어간 뒤 Host 기반 Ingress 다섯 갈래로 나뉜다. Gitea와 Keycloak만 공용 PostgreSQL로 이어진다.",
|
||||
"alt": "왼쪽의 클라이언트에서 출발한 화살표가 호스트 경계 안의 Host Nginx를 지나 k3s 클러스터 경계 안의 Traefik으로 들어가고, Traefik에서 다섯 서비스로 갈라진 뒤 그 가운데 Gitea와 Keycloak만 공용 PostgreSQL로 이어지는 구조도.",
|
||||
"long_description": "클라이언트는 공개 인터넷, LAN 192.168.0.0/24, Tailscale 100.64.0.0/10 세 출발지를 가진다. 요청은 호스트 경계 안의 Host Nginx 443으로 들어가고 여기서만 TLS가 종료된다. Host Nginx는 관리 hostname에 source allowlist를 적용하고 forwarded header를 다시 쓴 뒤 loopback 127.0.0.1:30080 하나로만 넘긴다. k3s 클러스터 경계 안의 Traefik은 NodePort 30080을 kube-proxy nodeport-addresses=127.0.0.0/8로 loopback에 묶고, web entrypoint에서 10.42.0.1/32만 forwarded-header 신뢰 프록시로 인정한다. 거기서 Host 기반 Ingress 다섯 건이 Gitea, Keycloak, AIStor Console, pgAdmin, Grafana로 갈라진다. 상태 계층에서는 Gitea와 Keycloak만 공용 PostgreSQL의 read-write Service 5432로 이어지며, 이 Service에는 Ingress도 NodePort도 LoadBalancer도 없다.",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "2. 한 장으로 보는 전체 구조",
|
||||
"line": 88
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "component-flow",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
],
|
||||
"rationale": "본문 §2.1이 클라이언트에서 저장소까지 한 방향 요청 경로를 다섯 홉으로 못 박고 있으므로 directed request path 문법이 그대로 맞는다. 호스트와 클러스터라는 두 소유 경계는 group으로만 표현하고 흐름 자체는 하나의 방향으로 유지한다.",
|
||||
"focus_node": "traefik"
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"id": "host-zone",
|
||||
"label": "호스트",
|
||||
"kind": "system",
|
||||
"role": "zone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 98,
|
||||
"end_line": 100
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "cluster-zone",
|
||||
"label": "k3s 클러스터",
|
||||
"kind": "system",
|
||||
"role": "zone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 104,
|
||||
"end_line": 121
|
||||
},
|
||||
{
|
||||
"start_line": 150,
|
||||
"end_line": 160
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "client",
|
||||
"label": "클라이언트",
|
||||
"kind": "external",
|
||||
"role": "source",
|
||||
"shape": "box",
|
||||
"details": [
|
||||
"공개 인터넷",
|
||||
"LAN 192.168.0.0/24",
|
||||
"Tailscale 100.64.0.0/10"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 93,
|
||||
"end_line": 94
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "host-nginx",
|
||||
"label": "Host Nginx",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"group": "host-zone",
|
||||
"details": [
|
||||
"TLS 종료 :443",
|
||||
"source allowlist",
|
||||
"ssl_reject_handshake"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 98,
|
||||
"end_line": 100
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary",
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "traefik",
|
||||
"label": "Traefik",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
"NodePort 30080 (loopback)",
|
||||
"web trust 10.42.0.1/32"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 104,
|
||||
"end_line": 106
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary",
|
||||
"shape": "box"
|
||||
},
|
||||
{
|
||||
"id": "gitea",
|
||||
"label": "Gitea",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
"gitea-http:3000",
|
||||
"공개 DNS 있음"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 111,
|
||||
"end_line": 111
|
||||
},
|
||||
{
|
||||
"start_line": 134,
|
||||
"end_line": 134
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "grafana",
|
||||
"label": "Grafana",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
"grafana:80",
|
||||
"LAN + Tailscale"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 115,
|
||||
"end_line": 115
|
||||
},
|
||||
{
|
||||
"start_line": 136,
|
||||
"end_line": 136
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "keycloak",
|
||||
"label": "Keycloak",
|
||||
"kind": "security",
|
||||
"role": "service",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
"keycloak-service:8080",
|
||||
"공개 DNS 있음"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 112,
|
||||
"end_line": 112
|
||||
},
|
||||
{
|
||||
"start_line": 135,
|
||||
"end_line": 135
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "aistor-console",
|
||||
"label": "AIStor Console",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
"minio-aistor-console:9090",
|
||||
"LAN + Tailscale"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 113,
|
||||
"end_line": 113
|
||||
},
|
||||
{
|
||||
"start_line": 137,
|
||||
"end_line": 137
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "pgadmin",
|
||||
"label": "pgAdmin",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
"pgadmin:80",
|
||||
"LAN + Tailscale"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 114,
|
||||
"end_line": 114
|
||||
},
|
||||
{
|
||||
"start_line": 138,
|
||||
"end_line": 138
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "postgres",
|
||||
"label": "platform-postgres-rw",
|
||||
"kind": "database",
|
||||
"role": "store",
|
||||
"shape": "database",
|
||||
"group": "cluster-zone",
|
||||
"details": [
|
||||
":5432",
|
||||
"gitea DB",
|
||||
"keycloak DB",
|
||||
"ClusterIP 전용"
|
||||
],
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 119,
|
||||
"end_line": 119
|
||||
},
|
||||
{
|
||||
"start_line": 142,
|
||||
"end_line": 144
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "e-client-nginx",
|
||||
"from": "client",
|
||||
"to": "host-nginx",
|
||||
"label": "HTTPS 443",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 93,
|
||||
"end_line": 98
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "e-nginx-traefik",
|
||||
"from": "host-nginx",
|
||||
"to": "traefik",
|
||||
"label": "127.0.0.1:30080",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 102,
|
||||
"end_line": 104
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "e-traefik-gitea",
|
||||
"from": "traefik",
|
||||
"to": "gitea",
|
||||
"label": "git",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 108,
|
||||
"end_line": 111
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "e-traefik-grafana",
|
||||
"from": "traefik",
|
||||
"to": "grafana",
|
||||
"label": "grafana",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 108,
|
||||
"end_line": 115
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "e-traefik-keycloak",
|
||||
"from": "traefik",
|
||||
"to": "keycloak",
|
||||
"label": "id",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 108,
|
||||
"end_line": 112
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "e-traefik-aistor",
|
||||
"from": "traefik",
|
||||
"to": "aistor-console",
|
||||
"label": "storage-admin",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 108,
|
||||
"end_line": 113
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "e-traefik-pgadmin",
|
||||
"from": "traefik",
|
||||
"to": "pgadmin",
|
||||
"label": "db-admin",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 108,
|
||||
"end_line": 114
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "e-gitea-postgres",
|
||||
"from": "gitea",
|
||||
"to": "postgres",
|
||||
"label": "5432",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 118,
|
||||
"end_line": 119
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "e-keycloak-postgres",
|
||||
"from": "keycloak",
|
||||
"to": "postgres",
|
||||
"label": "5432",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 118,
|
||||
"end_line": 119
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
그림. 그림 하나가 폴더 하나다 — <이름>/<이름>.svg 와 편집 형식들.
|
||||
기록의 assets: file: 도 이 폴더를 가리킨다. Studio 에 올릴 사본을 따로 두지 않는다 —
|
||||
사본을 두면 정본이 둘이 되고, 사본 쪽에는 ../../.techviz/<이름>/ 이 없어 다시 만들 수 없다.
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
# UI 편집이 권위가 되지 못하는 자리
|
||||
|
||||
## Alternative text
|
||||
|
||||
Git JSON 이 desired state 로, 사이드카가 controller 로, Grafana 가 actual state 로 놓이고 파일 provider 가 30초마다 되돌리는 고리를 이루는 구조도. UI 편집은 이 고리 바깥에서 actual state 에만 닿는다.
|
||||
|
||||
## Long description
|
||||
|
||||
Git 저장소의 dashboard JSON 이 desired state 다. Kustomize 가 disableNameSuffixHash 로 안정 이름 ConfigMap 을 만들고 grafana_dashboard=1 label 을 붙인다. grafana-sc-dashboard 사이드카는 observability namespace 의 ConfigMap 을 list 와 watch 만 할 수 있는 Role 로 WATCH 하고, 변경을 /tmp/dashboards 에 반영한다. Grafana file provider 가 30초마다 그 디렉터리를 읽어 actual state 를 맞춘다. allowUiUpdates 는 false 이고 각 dashboard JSON 도 editable 이 false 라, 브라우저에서 고친 것은 이 고리에 들어가지 못하고 다음 동기화에서 덮인다. main Grafana 컨테이너는 ServiceAccount token 을 automount 하지 않으므로 Kubernetes API 로 스스로 상태를 되돌릴 수도 없다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **Git JSON** (config): No additional description. Evidence: L1309–L1310, L1321–L1323.
|
||||
- **dashboard 사이드카** (service): No additional description. Evidence: L1309–L1310, L1317–L1319.
|
||||
- **Grafana file provider** (service): No additional description. Evidence: L1309–L1310, L1313–L1315.
|
||||
- **브라우저 UI 편집** (actor): No additional description. Evidence: L1313–L1315.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **Git JSON → dashboard 사이드카:** 생성. Evidence: L1309–L1310.
|
||||
- **dashboard 사이드카 → Grafana file provider:** WATCH. Evidence: L1309–L1310, L1317–L1319.
|
||||
- **Grafana file provider → 브라우저 UI 편집:** 표시. Evidence: L1313–L1315.
|
||||
- **브라우저 UI 편집 → Git JSON:** 되돌릴 경로 없음. Evidence: L1313–L1315, L1317–L1319.
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
# UI 편집이 권위가 되지 못하는 자리
|
||||
# Question: 대시보드를 UI 에서 고치면 왜 남지 않는가?
|
||||
direction: right
|
||||
n0: "Git JSON" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "dashboard 사이드카" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "Grafana file provider" {
|
||||
shape: rectangle
|
||||
}
|
||||
n3: "브라우저 UI 편집" {
|
||||
shape: person
|
||||
}
|
||||
n0 -> n1: "생성"
|
||||
n1 -> n2: "WATCH"
|
||||
n2 -> n3: "표시"
|
||||
n3 -> n0: "되돌릴 경로 없음"
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
digraph techviz {
|
||||
graph [rankdir=LR, splines=ortho, nodesep=0.55, ranksep=0.85];
|
||||
node [fontname=Helvetica, fontsize=11, margin="0.18,0.12", style="rounded,filled", fillcolor=white, color="#2d4357", penwidth=1.5];
|
||||
edge [fontname=Helvetica, fontsize=10, color="#364b5f", penwidth=1.4, arrowsize=0.75];
|
||||
n0 [label="Git JSON", shape=box, style="rounded,filled"];
|
||||
n1 [label="dashboard 사이드카", shape=box, style="rounded,filled"];
|
||||
n2 [label="Grafana file provider", shape=box, style="rounded,filled"];
|
||||
n3 [label="브라우저 UI 편집", shape=box, style="rounded,dashed,filled"];
|
||||
n0 -> n1 [label="생성", style=solid];
|
||||
n1 -> n2 [label="WATCH", style=solid];
|
||||
n2 -> n3 [label="표시", style=solid];
|
||||
n3 -> n0 [label="되돌릴 경로 없음", style=solid];
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
|
||||
<diagram id="dashboard-authority-loop" name="UI 편집이 권위가 되지 못하는 자리">
|
||||
<mxGraphModel dx="1015" dy="532" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1015" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="n_git" value="Git JSON<br/>안정 이름 ConfigMap<br/>editable: false" tooltip="config | Evidence: L1309-L1310, L1321-L1323" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=document;whiteSpace=wrap;html=1;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="45.0" y="135.0" width="240.0" height="130.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_sidecar" value="dashboard 사이드카<br/>ConfigMap watch 전용<br/>Secret 권한 없음" tooltip="service | Evidence: L1309-L1310, L1317-L1319" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=mxgraph.networks.server;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="385.0" y="155.0" width="205.0" height="110.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_grafana" value="Grafana file provider<br/>/tmp/dashboards<br/>scan 30s<br/>allowUiUpdates: false" tooltip="service | Evidence: L1309-L1310, L1313-L1315" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="735.0" y="105.0" width="235.0" height="135.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_ui" value="브라우저 UI 편집<br/>비권위 상태" tooltip="actor | Evidence: L1313-L1315" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="385.0" y="370.0" width="205.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_r1" value="생성" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_git" target="n_sidecar">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="359.0" y="200.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_r2" value="WATCH" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_sidecar" target="n_grafana">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="686.5" y="186.8" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_r3" value="표시" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_grafana" target="n_ui">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="770.5" y="459.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_r4" value="되돌릴 경로 없음" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_ui" target="n_git">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="238.2" y="459.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
+685
@@ -0,0 +1,685 @@
|
||||
{
|
||||
"type": "excalidraw",
|
||||
"version": 2,
|
||||
"source": "techviz-harness",
|
||||
"elements": [
|
||||
{
|
||||
"id": "edge-r1",
|
||||
"type": "arrow",
|
||||
"x": 285.0,
|
||||
"y": 191.0,
|
||||
"width": 100.0,
|
||||
"height": 19.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1552593621,
|
||||
"version": 1,
|
||||
"versionNonce": 1866294541,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
50.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
50.0,
|
||||
19.0
|
||||
],
|
||||
[
|
||||
100.0,
|
||||
19.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-git",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-sidecar",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-r1",
|
||||
"type": "text",
|
||||
"x": 314.0,
|
||||
"y": 188.5,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1092216053,
|
||||
"version": 1,
|
||||
"versionNonce": 281290126,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "생성",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "생성",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-r2",
|
||||
"type": "arrow",
|
||||
"x": 590.0,
|
||||
"y": 163.5,
|
||||
"width": 145.0,
|
||||
"height": 46.5,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1629988206,
|
||||
"version": 1,
|
||||
"versionNonce": 1140428082,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
46.5
|
||||
],
|
||||
[
|
||||
72.5,
|
||||
46.5
|
||||
],
|
||||
[
|
||||
72.5,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
145.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-sidecar",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-grafana",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-r2",
|
||||
"type": "text",
|
||||
"x": 641.5,
|
||||
"y": 174.75,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 967406813,
|
||||
"version": 1,
|
||||
"versionNonce": 643918964,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "WATCH",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "WATCH",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-r3",
|
||||
"type": "arrow",
|
||||
"x": 487.5,
|
||||
"y": 240.0,
|
||||
"width": 365.0,
|
||||
"height": 247.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1538953119,
|
||||
"version": 1,
|
||||
"versionNonce": 1791692368,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
365.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
365.0,
|
||||
247.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
247.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
201.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-grafana",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-ui",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-r3",
|
||||
"type": "text",
|
||||
"x": 725.5,
|
||||
"y": 447.0,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 689647965,
|
||||
"version": 1,
|
||||
"versionNonce": 1425962295,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "표시",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "표시",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-r4",
|
||||
"type": "arrow",
|
||||
"x": 165.0,
|
||||
"y": 265.0,
|
||||
"width": 322.5,
|
||||
"height": 222.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1132264382,
|
||||
"version": 1,
|
||||
"versionNonce": 579893398,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
322.5,
|
||||
176.0
|
||||
],
|
||||
[
|
||||
322.5,
|
||||
222.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
222.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-ui",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-git",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-r4",
|
||||
"type": "text",
|
||||
"x": 193.25,
|
||||
"y": 447.0,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1229244208,
|
||||
"version": 1,
|
||||
"versionNonce": 115279901,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "되돌릴 경로 없음",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "되돌릴 경로 없음",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-git",
|
||||
"type": "rectangle",
|
||||
"x": 45.0,
|
||||
"y": 135.0,
|
||||
"width": 240.0,
|
||||
"height": 130.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 170778719,
|
||||
"version": 1,
|
||||
"versionNonce": 437897003,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-git",
|
||||
"type": "text",
|
||||
"x": 55.0,
|
||||
"y": 145.0,
|
||||
"width": 220.0,
|
||||
"height": 110.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 193610627,
|
||||
"version": 1,
|
||||
"versionNonce": 117840523,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "Git JSON\n안정 이름 ConfigMap\neditable: false",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Git JSON\n안정 이름 ConfigMap\neditable: false",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-sidecar",
|
||||
"type": "rectangle",
|
||||
"x": 385.0,
|
||||
"y": 155.0,
|
||||
"width": 205.0,
|
||||
"height": 110.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1699549163,
|
||||
"version": 1,
|
||||
"versionNonce": 268284358,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-sidecar",
|
||||
"type": "text",
|
||||
"x": 395.0,
|
||||
"y": 165.0,
|
||||
"width": 185.0,
|
||||
"height": 90.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 826002083,
|
||||
"version": 1,
|
||||
"versionNonce": 611173956,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "dashboard 사이드카\nConfigMap watch 전용\nSecret 권한 없음",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "dashboard 사이드카\nConfigMap watch 전용\nSecret 권한 없음",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-grafana",
|
||||
"type": "rectangle",
|
||||
"x": 735.0,
|
||||
"y": 105.0,
|
||||
"width": 235.0,
|
||||
"height": 135.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 483591394,
|
||||
"version": 1,
|
||||
"versionNonce": 382687121,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-grafana",
|
||||
"type": "text",
|
||||
"x": 745.0,
|
||||
"y": 115.0,
|
||||
"width": 215.0,
|
||||
"height": 115.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1332238695,
|
||||
"version": 1,
|
||||
"versionNonce": 11114547,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "Grafana file provider\n/tmp/dashboards\nscan 30s\nallowUiUpdates: false",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Grafana file provider\n/tmp/dashboards\nscan 30s\nallowUiUpdates: false",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-ui",
|
||||
"type": "rectangle",
|
||||
"x": 385.0,
|
||||
"y": 370.0,
|
||||
"width": 205.0,
|
||||
"height": 71.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "dashed",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 915259226,
|
||||
"version": 1,
|
||||
"versionNonce": 1437052225,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-ui",
|
||||
"type": "text",
|
||||
"x": 395.0,
|
||||
"y": 380.0,
|
||||
"width": 185.0,
|
||||
"height": 51.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1781596054,
|
||||
"version": 1,
|
||||
"versionNonce": 1065137708,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "브라우저 UI 편집\n비권위 상태",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "브라우저 UI 편집\n비권위 상태",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
}
|
||||
],
|
||||
"appState": {
|
||||
"gridSize": 10,
|
||||
"viewBackgroundColor": "#ffffff",
|
||||
"currentItemFontFamily": 5
|
||||
},
|
||||
"files": {}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "dashboard-authority-loop",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "34d48374ed65d46d3600d245305356d8bdebec21e3f0e797297d4e9244471087",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "11.7 Grafana — Git 이 권위다",
|
||||
"line": 1306
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"dashboard-authority-loop.svg",
|
||||
"dashboard-authority-loop.mmd",
|
||||
"dashboard-authority-loop.d2",
|
||||
"dashboard-authority-loop.dot",
|
||||
"dashboard-authority-loop.drawio",
|
||||
"dashboard-authority-loop.excalidraw",
|
||||
"dashboard-authority-loop.alt.md"
|
||||
],
|
||||
"lint_issue_count": 1,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "reconciliation-loop",
|
||||
"reference_ids": [
|
||||
"declarative-vm"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
%% UI 편집이 권위가 되지 못하는 자리
|
||||
%% question: 대시보드를 UI 에서 고치면 왜 남지 않는가?
|
||||
flowchart LR
|
||||
n0["Git JSON"]
|
||||
n1["dashboard 사이드카"]
|
||||
n2["Grafana file provider"]
|
||||
n3(["브라우저 UI 편집"])
|
||||
n0 -->|"생성"| n1
|
||||
n1 -->|"WATCH"| n2
|
||||
n2 -->|"표시"| n3
|
||||
n3 -->|"되돌릴 경로 없음"| n0
|
||||
classDef external stroke-dasharray: 6 4
|
||||
class n3 external
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1015" height="532" viewBox="0 0 1015 532" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">UI 편집이 권위가 되지 못하는 자리</title>
|
||||
<desc id="diagram-description">Git 저장소의 dashboard JSON 이 desired state 다. Kustomize 가 disableNameSuffixHash 로 안정 이름 ConfigMap 을 만들고 grafana_dashboard=1 label 을 붙인다. grafana-sc-dashboard 사이드카는 observability namespace 의 ConfigMap 을 list 와 watch 만 할 수 있는 Role 로 WATCH 하고, 변경을 /tmp/dashboards 에 반영한다. Grafana file provider 가 30초마다 그 디렉터리를 읽어 actual state 를 맞춘다. allowUiUpdates 는 false 이고 각 dashboard JSON 도 editable 이 false 라, 브라우저에서 고친 것은 이 고리에 들어가지 못하고 다음 동기화에서 덮인다. main Grafana 컨테이너는 ServiceAccount token 을 automount 하지 않으므로 Kubernetes API 로 스스로 상태를 되돌릴 수도 없다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"dashboard-authority-loop","profile":"reconciliation-loop"},"source_context":{"document":"docs/platform-infra/final/document.md","document_sha256":"2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226","anchor":{"kind":"heading","value":"11.7 Grafana — Git 이 권위다","line":1306}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1015" height="532" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="285.0,191.0 335.0,191.0 335.0,210.0 385.0,210.0" data-evidence="1309-1310" />
|
||||
<rect class="edge-label-bg" x="337.0" y="186.5" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="359.0" y="201.5">생성</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="590.0,210.0 662.5,210.0 662.5,163.5 735.0,163.5" data-evidence="1309-1310,1317-1319" />
|
||||
<rect class="edge-label-bg" x="660.8" y="172.8" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="686.5" y="187.8">WATCH</text>
|
||||
<polyline class="edge kind-response style-solid emphasis-normal semantic-dashed" points="852.5,240.0 852.5,487.0 487.5,487.0 487.5,441.0" data-evidence="1313-1315" />
|
||||
<rect class="edge-label-bg" x="748.5" y="445.0" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="770.5" y="460.0">표시</text>
|
||||
<polyline class="edge kind-response style-dashed emphasis-primary semantic-dashed" points="487.5,441.0 487.5,487.0 165.0,487.0 165.0,265.0" data-evidence="1313-1315,1317-1319" />
|
||||
<rect class="edge-label-bg" x="199.1" y="445.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="238.2" y="460.0">되돌릴 경로 없음</text>
|
||||
<g id="node-git">
|
||||
<rect class="node-shape kind-config emphasis-primary role-desired-state" data-evidence="1309-1310,1321-1323" x="45.0" y="135.0" width="240.0" height="130.0" rx="7" />
|
||||
<text class="node-role" x="165.0" y="154.0">«desired-state»</text>
|
||||
<text class="node-label" x="165.0" y="182.0">Git JSON</text>
|
||||
<line class="node-detail-divider" x1="59.0" y1="203.0" x2="271.0" y2="203.0" />
|
||||
<text class="node-detail" x="61.0" y="220.0">안정 이름 ConfigMap</text>
|
||||
<text class="node-detail" x="61.0" y="236.0">editable: false</text>
|
||||
</g>
|
||||
<g id="node-sidecar">
|
||||
<rect class="node-shape kind-service emphasis-normal role-controller" data-evidence="1309-1310,1317-1319" x="385.0" y="155.0" width="205.0" height="110.0" rx="7" />
|
||||
<text class="node-role" x="487.5" y="174.0">«controller»</text>
|
||||
<text class="node-label" x="487.5" y="201.0">dashboard 사이드카</text>
|
||||
<line class="node-detail-divider" x1="399.0" y1="222.0" x2="576.0" y2="222.0" />
|
||||
<text class="node-detail" x="401.0" y="239.0">ConfigMap watch 전용</text>
|
||||
<text class="node-detail" x="401.0" y="255.0">Secret 권한 없음</text>
|
||||
</g>
|
||||
<g id="node-grafana">
|
||||
<rect class="node-shape kind-service emphasis-normal role-actual-state" data-evidence="1309-1310,1313-1315" x="735.0" y="105.0" width="235.0" height="135.0" rx="7" />
|
||||
<text class="node-role" x="852.5" y="124.0">«actual-state»</text>
|
||||
<text class="node-label" x="852.5" y="151.0">Grafana file provider</text>
|
||||
<line class="node-detail-divider" x1="749.0" y1="172.0" x2="956.0" y2="172.0" />
|
||||
<text class="node-detail" x="751.0" y="189.0">/tmp/dashboards</text>
|
||||
<text class="node-detail" x="751.0" y="205.0">scan 30s</text>
|
||||
<text class="node-detail" x="751.0" y="221.0">allowUiUpdates: false</text>
|
||||
</g>
|
||||
<g id="node-ui">
|
||||
<rect class="node-shape kind-actor emphasis-normal role-status" data-evidence="1313-1315" x="385.0" y="370.0" width="205.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="487.5" y="397.0">브라우저 UI 편집</text>
|
||||
<line class="node-detail-divider" x1="399.0" y1="418.0" x2="576.0" y2="418.0" />
|
||||
<text class="node-detail" x="401.0" y="435.0">비권위 상태</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.1 KiB |
@@ -0,0 +1,26 @@
|
||||
# 신뢰할 수 있는 hostname 이 만들어지는 순서
|
||||
|
||||
## Alternative text
|
||||
|
||||
왼쪽부터 클라이언트, Host Nginx, Traefik, backend 네 참가자의 생명선이 있고, 클라이언트가 임의 헤더를 보내면 Host Nginx 가 상수로 덮어쓰고 loopback 으로 넘긴 뒤 Traefik 이 source 를 확인하고 backend 로 전달하는 순서를 번호가 붙은 화살표로 보여 주는 시퀀스 다이어그램.
|
||||
|
||||
## Long description
|
||||
|
||||
1) 클라이언트가 HTTPS 443 으로 요청을 보낸다. 이 요청에는 임의의 Host 와 X-Forwarded-* 가 들어 있을 수 있다. 2) Host Nginx 는 등록되지 않은 SNI 를 ssl_reject_handshake 로 거부한다. 3) 관리 hostname 셋에서는 source allowlist 192.168.0.0/24 와 100.64.0.0/10 만 통과시키고 나머지는 거부한다. 4) Host 와 X-Forwarded-Host 를 상수 hostname 으로, X-Forwarded-Proto 를 https, X-Forwarded-Port 를 443 으로 덮어쓰고 X-Forwarded-For 와 X-Real-IP 를 접속 주소로 다시 쓴다. 5) 다섯 server block 이 모두 같은 loopback upstream 127.0.0.1:30080 으로 넘긴다. NodePort 는 kube-proxy nodeport-addresses=127.0.0.0/8 로 loopback 에만 묶여 있어 LAN 에서는 연결되지 않는다. 6) Traefik 의 web entrypoint 는 forwardedHeaders.trustedIPs 가 10.42.0.1/32 하나뿐이므로 그 source 에서 온 헤더만 신뢰한다. 7) Traefik 이 Host 기반 Ingress 로 backend 에 전달하고, backend 는 상수로 고정된 hostname 만 본다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **클라이언트** (participant): No additional description. Evidence: L268–L273.
|
||||
- **Host Nginx** (participant): No additional description. Evidence: L244–L288.
|
||||
- **Traefik web** (participant): No additional description. Evidence: L333–L339, L358–L376.
|
||||
- **backend 파드** (participant): No additional description. Evidence: L276–L278.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **클라이언트 → Host Nginx:** HTTPS 443 + 임의 Host, X-Forwarded-*. Evidence: L268–L273.
|
||||
- **Host Nginx → Host Nginx:** 미등록 SNI → ssl_reject_handshake. Evidence: L252–L258.
|
||||
- **Host Nginx → Host Nginx:** source allowlist → deny all. Evidence: L280–L288.
|
||||
- **Host Nginx → Host Nginx:** Host, X-Forwarded-* 상수 덮어쓰기. Evidence: L268–L273, L276–L278.
|
||||
- **Host Nginx → Traefik web:** http 127.0.0.1:30080. Evidence: L262–L263, L333–L339.
|
||||
- **Traefik web → Traefik web:** trustedIPs 10.42.0.1/32 대조. Evidence: L358–L376.
|
||||
- **Traefik web → backend 파드:** Host 기반 Ingress. Evidence: L276–L278.
|
||||
@@ -0,0 +1,22 @@
|
||||
# 신뢰할 수 있는 hostname 이 만들어지는 순서
|
||||
# Question: 클라이언트가 보낸 헤더는 어느 홉에서 버려지고, backend 가 믿는 값은 어디서 만들어지는가?
|
||||
direction: right
|
||||
n0: "클라이언트" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "Host Nginx" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "Traefik web" {
|
||||
shape: rectangle
|
||||
}
|
||||
n3: "backend 파드" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n1: "HTTPS 443 + 임의 Host, X-Forwarded-*"
|
||||
n1 -> n1: "미등록 SNI → ssl_reject_handshake"
|
||||
n1 -> n1: "source allowlist → deny all"
|
||||
n1 -> n1: "Host, X-Forwarded-* 상수 덮어쓰기"
|
||||
n1 -> n2: "http 127.0.0.1:30080"
|
||||
n2 -> n2: "trustedIPs 10.42.0.1/32 대조"
|
||||
n2 -> n3: "Host 기반 Ingress"
|
||||
@@ -0,0 +1,16 @@
|
||||
digraph techviz {
|
||||
graph [rankdir=LR, splines=ortho, nodesep=0.55, ranksep=0.85];
|
||||
node [fontname=Helvetica, fontsize=11, margin="0.18,0.12", style="rounded,filled", fillcolor=white, color="#2d4357", penwidth=1.5];
|
||||
edge [fontname=Helvetica, fontsize=10, color="#364b5f", penwidth=1.4, arrowsize=0.75];
|
||||
n0 [label="클라이언트", shape=box, style="rounded,filled"];
|
||||
n1 [label="Host Nginx", shape=box, style="rounded,filled"];
|
||||
n2 [label="Traefik web", shape=box, style="rounded,filled"];
|
||||
n3 [label="backend 파드", shape=box, style="rounded,filled"];
|
||||
n0 -> n1 [label="HTTPS 443 + 임의 Host, X-Forwarded-*", style=solid];
|
||||
n1 -> n1 [label="미등록 SNI → ssl_reject_handshake", style=solid];
|
||||
n1 -> n1 [label="source allowlist → deny all", style=solid];
|
||||
n1 -> n1 [label="Host, X-Forwarded-* 상수 덮어쓰기", style=solid];
|
||||
n1 -> n2 [label="http 127.0.0.1:30080", style=solid];
|
||||
n2 -> n2 [label="trustedIPs 10.42.0.1/32 대조", style=solid];
|
||||
n2 -> n3 [label="Host 기반 Ingress", style=solid];
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
|
||||
<diagram id="edge-trust-chain" name="신뢰할 수 있는 hostname 이 만들어지는 순서">
|
||||
<mxGraphModel dx="870" dy="604" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="870" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="n_client" value="클라이언트" tooltip="participant | Evidence: L268-L273" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="45.0" y="35.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_nginx" value="Host Nginx" tooltip="participant | Evidence: L244-L288" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="255.0" y="35.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_traefik" value="Traefik web" tooltip="participant | Evidence: L333-L339, L358-L376" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="465.0" y="35.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_backend" value="backend 파드" tooltip="participant | Evidence: L276-L278" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="675.0" y="35.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_m1" value="HTTPS 443 + 임의 Host, X-Forwarded-*" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_client" target="n_nginx">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="225.0" y="128.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m2" value="미등록 SNI → ssl_reject_handshake" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_nginx" target="n_nginx">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="330.0" y="190.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m3" value="source allowlist → deny all" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_nginx" target="n_nginx">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="330.0" y="252.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m4" value="Host, X-Forwarded-* 상수 덮어쓰기" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_nginx" target="n_nginx">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="330.0" y="314.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m5" value="http 127.0.0.1:30080" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_nginx" target="n_traefik">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="435.0" y="376.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m6" value="trustedIPs 10.42.0.1/32 대조" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_traefik">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="540.0" y="438.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m7" value="Host 기반 Ingress" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_backend">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="645.0" y="500.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
+926
@@ -0,0 +1,926 @@
|
||||
{
|
||||
"type": "excalidraw",
|
||||
"version": 2,
|
||||
"source": "techviz-harness",
|
||||
"elements": [
|
||||
{
|
||||
"id": "edge-m1",
|
||||
"type": "arrow",
|
||||
"x": 120.0,
|
||||
"y": 140.0,
|
||||
"width": 210.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1391175952,
|
||||
"version": 1,
|
||||
"versionNonce": 1697606636,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
210.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-client",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m1",
|
||||
"type": "text",
|
||||
"x": 89.0,
|
||||
"y": 116.0,
|
||||
"width": 272,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 205439938,
|
||||
"version": 1,
|
||||
"versionNonce": 479762556,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "HTTPS 443 + 임의 Host, X-Forwarded-*",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "HTTPS 443 + 임의 Host, X-Forwarded-*",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-m2",
|
||||
"type": "arrow",
|
||||
"x": 330.0,
|
||||
"y": 202.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1592612909,
|
||||
"version": 1,
|
||||
"versionNonce": 300451842,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m2",
|
||||
"type": "text",
|
||||
"x": 210.0,
|
||||
"y": 178.0,
|
||||
"width": 240,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 774335790,
|
||||
"version": 1,
|
||||
"versionNonce": 203462744,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "미등록 SNI → ssl_reject_handshake",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "미등록 SNI → ssl_reject_handshake",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-m3",
|
||||
"type": "arrow",
|
||||
"x": 330.0,
|
||||
"y": 264.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 986781738,
|
||||
"version": 1,
|
||||
"versionNonce": 1446276182,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m3",
|
||||
"type": "text",
|
||||
"x": 222.0,
|
||||
"y": 240.0,
|
||||
"width": 216,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 79282802,
|
||||
"version": 1,
|
||||
"versionNonce": 1904842631,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "source allowlist → deny all",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "source allowlist → deny all",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-m4",
|
||||
"type": "arrow",
|
||||
"x": 330.0,
|
||||
"y": 326.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 522855009,
|
||||
"version": 1,
|
||||
"versionNonce": 870155517,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m4",
|
||||
"type": "text",
|
||||
"x": 222.0,
|
||||
"y": 302.0,
|
||||
"width": 216,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1255410992,
|
||||
"version": 1,
|
||||
"versionNonce": 1365345158,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "Host, X-Forwarded-* 상수 덮어쓰기",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Host, X-Forwarded-* 상수 덮어쓰기",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-m5",
|
||||
"type": "arrow",
|
||||
"x": 330.0,
|
||||
"y": 388.0,
|
||||
"width": 210.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1867262898,
|
||||
"version": 1,
|
||||
"versionNonce": 135793406,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
210.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-nginx",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-traefik",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m5",
|
||||
"type": "text",
|
||||
"x": 355.0,
|
||||
"y": 364.0,
|
||||
"width": 160,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1226396936,
|
||||
"version": 1,
|
||||
"versionNonce": 1389084094,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "http 127.0.0.1:30080",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "http 127.0.0.1:30080",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-m6",
|
||||
"type": "arrow",
|
||||
"x": 540.0,
|
||||
"y": 450.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 70953370,
|
||||
"version": 1,
|
||||
"versionNonce": 201368227,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-traefik",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-traefik",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m6",
|
||||
"type": "text",
|
||||
"x": 436.0,
|
||||
"y": 426.0,
|
||||
"width": 208,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 74056664,
|
||||
"version": 1,
|
||||
"versionNonce": 1569763366,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "trustedIPs 10.42.0.1/32 대조",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "trustedIPs 10.42.0.1/32 대조",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-m7",
|
||||
"type": "arrow",
|
||||
"x": 540.0,
|
||||
"y": 512.0,
|
||||
"width": 210.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 692637757,
|
||||
"version": 1,
|
||||
"versionNonce": 9038477,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
210.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-traefik",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-backend",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-m7",
|
||||
"type": "text",
|
||||
"x": 585.0,
|
||||
"y": 488.0,
|
||||
"width": 120,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1182149226,
|
||||
"version": 1,
|
||||
"versionNonce": 1420344137,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "Host 기반 Ingress",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Host 기반 Ingress",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-client",
|
||||
"type": "rectangle",
|
||||
"x": 45.0,
|
||||
"y": 35.0,
|
||||
"width": 150.0,
|
||||
"height": 64.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1893748721,
|
||||
"version": 1,
|
||||
"versionNonce": 1322839316,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-client",
|
||||
"type": "text",
|
||||
"x": 55.0,
|
||||
"y": 45.0,
|
||||
"width": 130.0,
|
||||
"height": 44.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 817706832,
|
||||
"version": 1,
|
||||
"versionNonce": 1332899567,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "클라이언트",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "클라이언트",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-nginx",
|
||||
"type": "rectangle",
|
||||
"x": 255.0,
|
||||
"y": 35.0,
|
||||
"width": 150.0,
|
||||
"height": 64.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 721013300,
|
||||
"version": 1,
|
||||
"versionNonce": 1520646945,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-nginx",
|
||||
"type": "text",
|
||||
"x": 265.0,
|
||||
"y": 45.0,
|
||||
"width": 130.0,
|
||||
"height": 44.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 117243520,
|
||||
"version": 1,
|
||||
"versionNonce": 936748041,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "Host Nginx",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Host Nginx",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-traefik",
|
||||
"type": "rectangle",
|
||||
"x": 465.0,
|
||||
"y": 35.0,
|
||||
"width": 150.0,
|
||||
"height": 64.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1004362376,
|
||||
"version": 1,
|
||||
"versionNonce": 1434039951,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-traefik",
|
||||
"type": "text",
|
||||
"x": 475.0,
|
||||
"y": 45.0,
|
||||
"width": 130.0,
|
||||
"height": 44.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1067358536,
|
||||
"version": 1,
|
||||
"versionNonce": 1366351535,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "Traefik web",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Traefik web",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-backend",
|
||||
"type": "rectangle",
|
||||
"x": 675.0,
|
||||
"y": 35.0,
|
||||
"width": 150.0,
|
||||
"height": 64.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 430450037,
|
||||
"version": 1,
|
||||
"versionNonce": 288855291,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-backend",
|
||||
"type": "text",
|
||||
"x": 685.0,
|
||||
"y": 45.0,
|
||||
"width": 130.0,
|
||||
"height": 44.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 349920174,
|
||||
"version": 1,
|
||||
"versionNonce": 257387561,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "backend 파드",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "backend 파드",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
}
|
||||
],
|
||||
"appState": {
|
||||
"gridSize": 10,
|
||||
"viewBackgroundColor": "#ffffff",
|
||||
"currentItemFontFamily": 5
|
||||
},
|
||||
"files": {}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "edge-trust-chain",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "5b6eeb2c6bc9b04c2d99cf00178483f702f246d896688a8122a42d92a59ce6a6",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "4. 엣지 — TLS 를 한 번 끊고 그 뒤로는 평문이다",
|
||||
"line": 240
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"edge-trust-chain.svg",
|
||||
"edge-trust-chain.mmd",
|
||||
"edge-trust-chain.d2",
|
||||
"edge-trust-chain.dot",
|
||||
"edge-trust-chain.drawio",
|
||||
"edge-trust-chain.excalidraw",
|
||||
"edge-trust-chain.alt.md"
|
||||
],
|
||||
"lint_issue_count": 4,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "sequence",
|
||||
"reference_ids": [
|
||||
"payment-approval-sequence"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
%% 신뢰할 수 있는 hostname 이 만들어지는 순서
|
||||
%% question: 클라이언트가 보낸 헤더는 어느 홉에서 버려지고, backend 가 믿는 값은 어디서 만들어지는가?
|
||||
sequenceDiagram
|
||||
participant n0 as 클라이언트
|
||||
participant n1 as Host Nginx
|
||||
participant n2 as Traefik web
|
||||
participant n3 as backend 파드
|
||||
n0->>n1: HTTPS 443 + 임의 Host, X-Forwarded-*
|
||||
n1->>n1: 미등록 SNI → ssl_reject_handshake
|
||||
n1->>n1: source allowlist → deny all
|
||||
n1->>n1: Host, X-Forwarded-* 상수 덮어쓰기
|
||||
n1->>n2: http 127.0.0.1:30080
|
||||
n2->>n2: trustedIPs 10.42.0.1/32 대조
|
||||
n2->>n3: Host 기반 Ingress
|
||||
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="870" height="604" viewBox="0 0 870 604" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">신뢰할 수 있는 hostname 이 만들어지는 순서</title>
|
||||
<desc id="diagram-description">1) 클라이언트가 HTTPS 443 으로 요청을 보낸다. 이 요청에는 임의의 Host 와 X-Forwarded-* 가 들어 있을 수 있다. 2) Host Nginx 는 등록되지 않은 SNI 를 ssl_reject_handshake 로 거부한다. 3) 관리 hostname 셋에서는 source allowlist 192.168.0.0/24 와 100.64.0.0/10 만 통과시키고 나머지는 거부한다. 4) Host 와 X-Forwarded-Host 를 상수 hostname 으로, X-Forwarded-Proto 를 https, X-Forwarded-Port 를 443 으로 덮어쓰고 X-Forwarded-For 와 X-Real-IP 를 접속 주소로 다시 쓴다. 5) 다섯 server block 이 모두 같은 loopback upstream 127.0.0.1:30080 으로 넘긴다. NodePort 는 kube-proxy nodeport-addresses=127.0.0.0/8 로 loopback 에만 묶여 있어 LAN 에서는 연결되지 않는다. 6) Traefik 의 web entrypoint 는 forwardedHeaders.trustedIPs 가 10.42.0.1/32 하나뿐이므로 그 source 에서 온 헤더만 신뢰한다. 7) Traefik 이 Host 기반 Ingress 로 backend 에 전달하고, backend 는 상수로 고정된 hostname 만 본다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"edge-trust-chain","profile":"sequence"},"source_context":{"document":"docs/platform-infra/final/document.md","document_sha256":"2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226","anchor":{"kind":"heading","value":"4. 엣지 — TLS 를 한 번 끊고 그 뒤로는 평문이다","line":240}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="870" height="604" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="268-273" x="45.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="120.0" y="65.0">클라이언트</text>
|
||||
<line class="lifeline" x1="120.0" y1="99.0" x2="120.0" y2="574.0" />
|
||||
<rect class="node-shape kind-participant emphasis-primary role-participant" data-evidence="244-288" x="255.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="330.0" y="65.0">Host Nginx</text>
|
||||
<line class="lifeline" x1="330.0" y1="99.0" x2="330.0" y2="574.0" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="333-339,358-376" x="465.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="540.0" y="65.0">Traefik web</text>
|
||||
<line class="lifeline" x1="540.0" y1="99.0" x2="540.0" y2="574.0" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="276-278" x="675.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="750.0" y="65.0">backend 파드</text>
|
||||
<line class="lifeline" x1="750.0" y1="99.0" x2="750.0" y2="574.0" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="120.0,140.0 330.0,140.0" data-evidence="268-273" />
|
||||
<rect class="edge-label-bg" x="92.1" y="114.0" width="265.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="225.0" y="129.0">1. HTTPS 443 + 임의 Host, X-Forwarded-*</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-normal" points="330.0,202.0 330.0,202.0" data-evidence="252-258" />
|
||||
<rect class="edge-label-bg" x="210.4" y="176.0" width="239.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="330.0" y="191.0">2. 미등록 SNI → ssl_reject_handshake</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-normal" points="330.0,264.0 330.0,264.0" data-evidence="280-288" />
|
||||
<rect class="edge-label-bg" x="220.5" y="238.0" width="219.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="330.0" y="253.0">3. source allowlist → deny all</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-primary" points="330.0,326.0 330.0,326.0" data-evidence="268-273,276-278" />
|
||||
<rect class="edge-label-bg" x="220.5" y="300.0" width="219.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="330.0" y="315.0">4. Host, X-Forwarded-* 상수 덮어쓰기</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="330.0,388.0 540.0,388.0" data-evidence="262-263,333-339" />
|
||||
<rect class="edge-label-bg" x="348.9" y="362.0" width="172.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="435.0" y="377.0">5. http 127.0.0.1:30080</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-primary" points="540.0,450.0 540.0,450.0" data-evidence="358-376" />
|
||||
<rect class="edge-label-bg" x="433.9" y="424.0" width="212.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="540.0" y="439.0">6. trustedIPs 10.42.0.1/32 대조</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="540.0,512.0 750.0,512.0" data-evidence="276-278" />
|
||||
<rect class="edge-label-bg" x="575.7" y="486.0" width="138.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="645.0" y="501.0">7. Host 기반 Ingress</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.2 KiB |
+44
@@ -0,0 +1,44 @@
|
||||
# 세 신호가 각각 다른 길로 들어와 두 곳에서 만난다
|
||||
|
||||
## Alternative text
|
||||
|
||||
왼쪽의 호스트 커널·파일시스템, /var/log/pods, 애플리케이션 OTLP 세 출처에서 출발한 화살표가 node-exporter 와 Alloy 를 거쳐 Prometheus·Loki·Tempo 로 들어가고, Loki 와 Tempo 의 객체만 AIStor S3 로 내려가며, 세 저장소가 모두 Grafana 로 모이고 Prometheus 만 Alertmanager 를 통해 Slack 으로 나가는 데이터 흐름도.
|
||||
|
||||
## Long description
|
||||
|
||||
수집 계층은 observability-agent namespace 다. Alloy DaemonSet 이 노드의 /var/log/pods 를 read-only hostPath 로 읽어 Loki 의 3100 으로 밀고, 애플리케이션의 OTLP/gRPC 4317 을 받아 Tempo 의 4317 로 민다. node-exporter 는 호스트 지표를 노출만 하고, Prometheus 가 그것을 끌어간다. Prometheus 는 kube-state-metrics 와 Blackbox Exporter 도 끌어간다. 저장 계층은 observability namespace 다. Prometheus 는 로컬 TSDB 20Gi 에 15일 또는 16GB 까지 담고, Loki 와 Tempo 는 로컬 PV 를 WAL 로만 쓰고 본 객체를 AIStor S3 의 loki 버킷과 tempo 버킷에 보낸다. 조회는 Grafana 한 곳에서 한다. 경보는 Prometheus 가 평가해 Alertmanager 로 보내고 Alertmanager 만 공개 HTTPS 443 으로 나가 Slack 에 전달한다. 이 그림의 화살표는 TCP 연결을 거는 쪽이 아니라 데이터가 흐르는 쪽을 가리킨다. Prometheus 와 Grafana 는 스스로 연결을 걸지만 데이터는 target 과 backend 에서 그쪽으로 온다. Prometheus 는 Alloy 와 Loki 자신의 지표도 끌어가지만 이 그림에서는 세 신호의 경로를 흐리지 않도록 생략했다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **호스트 커널·파일시스템** (infrastructure): No additional description. Evidence: L1083–L1083.
|
||||
- **/var/log/pods** (storage): No additional description. Evidence: L1083–L1083, L1266–L1272.
|
||||
- **애플리케이션 OTLP** (external): No additional description. Evidence: L1084–L1084, L1290–L1297.
|
||||
- **node-exporter** (service): No additional description. Evidence: L1082–L1084.
|
||||
- **Alloy** (service): No additional description. Evidence: L1082–L1084, L1263–L1283.
|
||||
- **kube-state-metrics** (service): No additional description. Evidence: L1095–L1095.
|
||||
- **Blackbox Exporter** (service): No additional description. Evidence: L1095–L1095, L1152–L1154.
|
||||
- **Prometheus** (database): No additional description. Evidence: L1089–L1090, L1128–L1130.
|
||||
- **Alertmanager** (service): No additional description. Evidence: L1093–L1094.
|
||||
- **Loki** (database): No additional description. Evidence: L1089–L1090, L1266–L1272.
|
||||
- **Tempo** (database): No additional description. Evidence: L1089–L1090, L1290–L1297.
|
||||
- **AIStor S3** (storage): No additional description. Evidence: L1092–L1093.
|
||||
- **Grafana** (service): No additional description. Evidence: L1097–L1097, L1321–L1323.
|
||||
- **Slack** (external): No additional description. Evidence: L1097–L1097.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **Prometheus → Alertmanager:** alert. Evidence: L1093–L1094.
|
||||
- **Alertmanager → Slack:** HTTPS 443. Evidence: L1097–L1097, L1101–L1102.
|
||||
- **/var/log/pods → Alloy:** log. Evidence: L1083–L1083, L1266–L1272.
|
||||
- **Alloy → Loki:** push :3100. Evidence: L1086–L1087, L1266–L1272.
|
||||
- **호스트 커널·파일시스템 → node-exporter:** metric. Evidence: L1082–L1084.
|
||||
- **node-exporter → Prometheus:** data. Evidence: L1086–L1087.
|
||||
- **kube-state-metrics → Prometheus:** 오브젝트 상태. Evidence: L1095–L1095.
|
||||
- **Blackbox Exporter → Prometheus:** probe 결과. Evidence: L1095–L1095, L1152–L1154.
|
||||
- **Prometheus → Grafana:** query. Evidence: L1097–L1097.
|
||||
- **Loki → Grafana:** query. Evidence: L1097–L1097, L1266–L1272.
|
||||
- **Tempo → Grafana:** query. Evidence: L1097–L1097, L1290–L1297.
|
||||
- **Loki → AIStor S3:** chunk. Evidence: L1092–L1093.
|
||||
- **Tempo → AIStor S3:** data. Evidence: L1092–L1093.
|
||||
- **애플리케이션 OTLP → Alloy:** trace. Evidence: L1084–L1084, L1290–L1297.
|
||||
- **Alloy → Tempo:** push :4317. Evidence: L1086–L1087, L1290–L1297.
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
# 세 신호가 각각 다른 길로 들어와 두 곳에서 만난다
|
||||
# Question: metric·log·trace 는 각각 어느 경로로 들어와 어디에 앉고, 사람에게는 어디서 보이는가?
|
||||
direction: right
|
||||
n0: "호스트 커널·파일시스템" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "/var/log/pods" {
|
||||
shape: cylinder
|
||||
}
|
||||
n2: "애플리케이션 OTLP" {
|
||||
shape: rectangle
|
||||
}
|
||||
n3: "node-exporter" {
|
||||
shape: rectangle
|
||||
}
|
||||
n4: "Alloy" {
|
||||
shape: rectangle
|
||||
}
|
||||
n5: "kube-state-metrics" {
|
||||
shape: rectangle
|
||||
}
|
||||
n6: "Blackbox Exporter" {
|
||||
shape: rectangle
|
||||
}
|
||||
n7: "Prometheus" {
|
||||
shape: sql_table
|
||||
}
|
||||
n8: "Alertmanager" {
|
||||
shape: rectangle
|
||||
}
|
||||
n9: "Loki" {
|
||||
shape: sql_table
|
||||
}
|
||||
n10: "Tempo" {
|
||||
shape: sql_table
|
||||
}
|
||||
n11: "AIStor S3" {
|
||||
shape: cylinder
|
||||
}
|
||||
n12: "Grafana" {
|
||||
shape: rectangle
|
||||
}
|
||||
n13: "Slack" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n3: "metric"
|
||||
n3 -> n7
|
||||
n5 -> n7: "오브젝트 상태"
|
||||
n6 -> n7: "probe 결과"
|
||||
n1 -> n4: "log"
|
||||
n2 -> n4: "trace"
|
||||
n4 -> n9: "push :3100"
|
||||
n4 -> n10: "push :4317"
|
||||
n7 -> n8: "alert" { style.stroke-dash: 4 }
|
||||
n9 -> n11: "chunk"
|
||||
n10 -> n11
|
||||
n7 -> n12: "query"
|
||||
n9 -> n12: "query"
|
||||
n10 -> n12: "query"
|
||||
n8 -> n13: "HTTPS 443" { style.stroke-dash: 4 }
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
digraph techviz {
|
||||
graph [rankdir=LR, splines=ortho, nodesep=0.55, ranksep=0.85];
|
||||
node [fontname=Helvetica, fontsize=11, margin="0.18,0.12", style="rounded,filled", fillcolor=white, color="#2d4357", penwidth=1.5];
|
||||
edge [fontname=Helvetica, fontsize=10, color="#364b5f", penwidth=1.4, arrowsize=0.75];
|
||||
n0 [label="호스트 커널·파일시스템", shape=box, style="rounded,filled"];
|
||||
n1 [label="/var/log/pods", shape=cylinder, style="rounded,filled"];
|
||||
n2 [label="애플리케이션 OTLP", shape=box, style="rounded,dashed,filled"];
|
||||
n3 [label="node-exporter", shape=box, style="rounded,filled"];
|
||||
n4 [label="Alloy", shape=box, style="rounded,filled"];
|
||||
n5 [label="kube-state-metrics", shape=box, style="rounded,filled"];
|
||||
n6 [label="Blackbox Exporter", shape=box, style="rounded,filled"];
|
||||
n7 [label="Prometheus", shape=cylinder, style="rounded,filled"];
|
||||
n8 [label="Alertmanager", shape=box, style="rounded,filled"];
|
||||
n9 [label="Loki", shape=cylinder, style="rounded,filled"];
|
||||
n10 [label="Tempo", shape=cylinder, style="rounded,filled"];
|
||||
n11 [label="AIStor S3", shape=cylinder, style="rounded,filled"];
|
||||
n12 [label="Grafana", shape=box, style="rounded,filled"];
|
||||
n13 [label="Slack", shape=box, style="rounded,dashed,filled"];
|
||||
n0 -> n3 [label="metric", style=solid];
|
||||
n3 -> n7 [label="", style=solid];
|
||||
n5 -> n7 [label="오브젝트 상태", style=solid];
|
||||
n6 -> n7 [label="probe 결과", style=solid];
|
||||
n1 -> n4 [label="log", style=solid];
|
||||
n2 -> n4 [label="trace", style=solid];
|
||||
n4 -> n9 [label="push :3100", style=solid];
|
||||
n4 -> n10 [label="push :4317", style=solid];
|
||||
n7 -> n8 [label="alert", style=dashed];
|
||||
n9 -> n11 [label="chunk", style=solid];
|
||||
n10 -> n11 [label="", style=solid];
|
||||
n7 -> n12 [label="query", style=solid];
|
||||
n9 -> n12 [label="query", style=solid];
|
||||
n10 -> n12 [label="query", style=solid];
|
||||
n8 -> n13 [label="HTTPS 443", style=dashed];
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
|
||||
<diagram id="observability-signal-paths" name="세 신호가 각각 다른 길로 들어와 두 곳에서 만난다">
|
||||
<mxGraphModel dx="1546" dy="809" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1546" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="n_host" value="호스트 커널·파일시스템<br/>CPU·메모리<br/>filesystem·inode" tooltip="infrastructure | Evidence: L1083-L1083" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="78.5" y="60.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_podlogs" value="/var/log/pods<br/>hostPath, read-only<br/>이 노드의 파드만" tooltip="storage | Evidence: L1083-L1083, L1266-L1272" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="70.0" y="220.0" width="167.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_app-otlp" value="애플리케이션 OTLP<br/>gRPC :4317<br/>현재 송신자 없음" tooltip="external | Evidence: L1084-L1084, L1290-L1297" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="78.5" y="380.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_ksm" value="kube-state-metrics" tooltip="service | Evidence: L1095-L1095" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="73.5" y="540.0" width="160.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_blackbox" value="Blackbox Exporter<br/>:9115<br/>probe group 3벌" tooltip="service | Evidence: L1095-L1095, L1152-L1154" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="77.0" y="676.0" width="153.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_node-exporter" value="node-exporter<br/>DaemonSet<br/>호스트 CPU·메모리·FS·inode" tooltip="service | Evidence: L1082-L1084" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="397.0" y="279.5" width="174.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_alloy" value="Alloy<br/>DaemonSet<br/>[REDACTED] 마스킹<br/>label 6개로 제한" tooltip="service | Evidence: L1082-L1084, L1263-L1283" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="409.0" y="439.5" width="150.0" height="105.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_loki" value="Loki<br/>:3100<br/>WAL 5Gi<br/>보존 30일" tooltip="database | Evidence: L1089-L1090, L1266-L1272" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;" vertex="1" parent="1">
|
||||
<mxGeometry x="731.0" y="143.5" width="150.0" height="131.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_tempo" value="Tempo<br/>:4317 / :3200<br/>WAL 5Gi<br/>보존 7일" tooltip="database | Evidence: L1089-L1090, L1290-L1297" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;" vertex="1" parent="1">
|
||||
<mxGeometry x="731.0" y="346.5" width="150.0" height="131.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_prometheus" value="Prometheus<br/>TSDB 20Gi<br/>15d / 16GB<br/>scrape 30s" tooltip="database | Evidence: L1089-L1090, L1128-L1130" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="731.0" y="549.5" width="150.0" height="131.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_aistor" value="AIStor S3<br/>loki 버킷<br/>tempo 버킷" tooltip="storage | Evidence: L1092-L1093" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;" vertex="1" parent="1">
|
||||
<mxGeometry x="1041.0" y="195.0" width="150.0" height="114.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_grafana" value="Grafana<br/>:3000<br/>dashboard 5" tooltip="service | Evidence: L1097-L1097, L1321-L1323" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1041.0" y="381.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_alertmanager" value="Alertmanager<br/>:9093<br/>보존 120h" tooltip="service | Evidence: L1093-L1094" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1041.0" y="541.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_slack" value="Slack<br/>public HTTPS 443" tooltip="external | Evidence: L1097-L1097" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;dashed=1;fillColor=#f5f7fa;" vertex="1" parent="1">
|
||||
<mxGeometry x="1351.0" y="376.5" width="150.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_a1" value="alert" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;dashed=1;" edge="1" parent="1" source="n_prometheus" target="n_alertmanager">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="985.0" y="604.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_a2" value="HTTPS 443" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;dashed=1;" edge="1" parent="1" source="n_alertmanager" target="n_slack">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1295.0" y="498.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_l1" value="log" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_podlogs" target="n_alloy">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="347.0" y="373.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_l2" value="push :3100" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_alloy" target="n_loki">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="669.0" y="346.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m0" value="metric" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_host" target="n_node-exporter">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="336.8" y="213.8" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_node-exporter" target="n_prometheus">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="675.0" y="460.2" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m2" value="오브젝트 상태" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_ksm" target="n_prometheus">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="506.2" y="593.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_m3" value="probe 결과" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_blackbox" target="n_prometheus">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="504.5" y="676.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_q1" value="query" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_prometheus" target="n_grafana">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="985.0" y="524.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_q2" value="query" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_loki" target="n_grafana">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="985.0" y="312.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_q3" value="query" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_tempo" target="n_grafana">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="985.0" y="423.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_s1" value="chunk" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_loki" target="n_aistor">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="985.0" y="221.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_s2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_tempo" target="n_aistor">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="985.0" y="332.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_t1" value="trace" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_app-otlp" target="n_alloy">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="342.8" y="462.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_t2" value="push :4317" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_alloy" target="n_tempo">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="669.0" y="456.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
+2386
File diff suppressed because it is too large
Load Diff
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "observability-signal-paths",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "abf15371be7d9ea41afe00ecdeb6f2d03117e51766ede061beab329df66cd8aa",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "11. 관측성 — 세 신호가 각각 다른 길로 들어온다",
|
||||
"line": 1076
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"observability-signal-paths.svg",
|
||||
"observability-signal-paths.mmd",
|
||||
"observability-signal-paths.d2",
|
||||
"observability-signal-paths.dot",
|
||||
"observability-signal-paths.drawio",
|
||||
"observability-signal-paths.excalidraw",
|
||||
"observability-signal-paths.alt.md"
|
||||
],
|
||||
"lint_issue_count": 11,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "component-flow",
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
%% 세 신호가 각각 다른 길로 들어와 두 곳에서 만난다
|
||||
%% question: metric·log·trace 는 각각 어느 경로로 들어와 어디에 앉고, 사람에게는 어디서 보이는가?
|
||||
flowchart LR
|
||||
n0["호스트 커널·파일시스템"]
|
||||
n1[("/var/log/pods")]
|
||||
n2(["애플리케이션 OTLP"])
|
||||
n3["node-exporter"]
|
||||
n4["Alloy"]
|
||||
n5["kube-state-metrics"]
|
||||
n6["Blackbox Exporter"]
|
||||
n7[("Prometheus")]
|
||||
n8["Alertmanager"]
|
||||
n9[("Loki")]
|
||||
n10[("Tempo")]
|
||||
n11[("AIStor S3")]
|
||||
n12["Grafana"]
|
||||
n13(["Slack"])
|
||||
n0 -->|"metric"| n3
|
||||
n3 --> n7
|
||||
n5 -->|"오브젝트 상태"| n7
|
||||
n6 -->|"probe 결과"| n7
|
||||
n1 -->|"log"| n4
|
||||
n2 -->|"trace"| n4
|
||||
n4 -->|"push :3100"| n9
|
||||
n4 -->|"push :4317"| n10
|
||||
n7 -.->|"alert"| n8
|
||||
n9 -->|"chunk"| n11
|
||||
n10 --> n11
|
||||
n7 -->|"query"| n12
|
||||
n9 -->|"query"| n12
|
||||
n10 -->|"query"| n12
|
||||
n8 -.->|"HTTPS 443"| n13
|
||||
classDef external stroke-dasharray: 6 4
|
||||
class n2,n13 external
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1546" height="809" viewBox="0 0 1546 809" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">세 신호가 각각 다른 길로 들어와 두 곳에서 만난다</title>
|
||||
<desc id="diagram-description">수집 계층은 observability-agent namespace 다. Alloy DaemonSet 이 노드의 /var/log/pods 를 read-only hostPath 로 읽어 Loki 의 3100 으로 밀고, 애플리케이션의 OTLP/gRPC 4317 을 받아 Tempo 의 4317 로 민다. node-exporter 는 호스트 지표를 노출만 하고, Prometheus 가 그것을 끌어간다. Prometheus 는 kube-state-metrics 와 Blackbox Exporter 도 끌어간다. 저장 계층은 observability namespace 다. Prometheus 는 로컬 TSDB 20Gi 에 15일 또는 16GB 까지 담고, Loki 와 Tempo 는 로컬 PV 를 WAL 로만 쓰고 본 객체를 AIStor S3 의 loki 버킷과 tempo 버킷에 보낸다. 조회는 Grafana 한 곳에서 한다. 경보는 Prometheus 가 평가해 Alertmanager 로 보내고 Alertmanager 만 공개 HTTPS 443 으로 나가 Slack 에 전달한다. 이 그림의 화살표는 TCP 연결을 거는 쪽이 아니라 데이터가 흐르는 쪽을 가리킨다. Prometheus 와 Grafana 는 스스로 연결을 걸지만 데이터는 target 과 backend 에서 그쪽으로 온다. Prometheus 는 Alloy 와 Loki 자신의 지표도 끌어가지만 이 그림에서는 세 신호의 경로를 흐리지 않도록 생략했다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"observability-signal-paths","profile":"component-flow"},"source_context":{"document":"docs/platform-infra/final/document.md","document_sha256":"2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226","anchor":{"kind":"heading","value":"11. 관측성 — 세 신호가 각각 다른 길로 들어온다","line":1076}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1546" height="809" />
|
||||
<polyline class="edge kind-publish style-solid emphasis-normal semantic-dashed" points="881.0,624.0 961.0,624.0 961.0,585.0 1041.0,585.0" data-evidence="1093-1094" />
|
||||
<rect class="edge-label-bg" x="959.2" y="590.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="985.0" y="605.5">alert</text>
|
||||
<polyline class="edge kind-publish style-solid emphasis-primary semantic-dashed" points="1191.0,585.0 1271.0,585.0 1271.0,412.0 1351.0,412.0" data-evidence="1097-1097,1101-1102" />
|
||||
<rect class="edge-label-bg" x="1255.8" y="484.5" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="1295.0" y="499.5">HTTPS 443</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="237.0,264.0 323.0,264.0 323.0,483.0 409.0,483.0" data-evidence="1083-1083,1266-1272" />
|
||||
<rect class="edge-label-bg" x="325.0" y="359.5" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="347.0" y="374.5">log</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="559.0,483.0 645.0,483.0 645.0,209.0 731.0,209.0" data-evidence="1086-1087,1266-1272" />
|
||||
<rect class="edge-label-bg" x="626.5" y="332.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="669.0" y="347.0">push :3100</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="228.5,104.0 312.8,104.0 312.8,323.5 397.0,323.5" data-evidence="1082-1084" />
|
||||
<rect class="edge-label-bg" x="307.6" y="199.8" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="336.8" y="214.8">metric</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="571.0,323.5 651.0,323.5 651.0,597.0 731.0,597.0" data-evidence="1086-1087" />
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="233.5,572.0 482.2,572.0 482.2,615.0 731.0,615.0" data-evidence="1095-1095" />
|
||||
<rect class="edge-label-bg" x="473.8" y="579.5" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="506.2" y="594.5">오브젝트 상태</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="230.0,720.0 480.5,720.0 480.5,633.0 731.0,633.0" data-evidence="1095-1095,1152-1154" />
|
||||
<rect class="edge-label-bg" x="468.7" y="662.5" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="504.5" y="677.5">probe 결과</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="881.0,606.0 961.0,606.0 961.0,443.0 1041.0,443.0" data-evidence="1097-1097" />
|
||||
<rect class="edge-label-bg" x="959.2" y="510.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="985.0" y="525.5">query</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="881.0,218.0 961.0,218.0 961.0,407.0 1041.0,407.0" data-evidence="1097-1097,1266-1272" />
|
||||
<rect class="edge-label-bg" x="959.2" y="298.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="985.0" y="313.5">query</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="881.0,421.0 961.0,421.0 961.0,425.0 1041.0,425.0" data-evidence="1097-1097,1290-1297" />
|
||||
<rect class="edge-label-bg" x="959.2" y="409.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="985.0" y="424.0">query</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="881.0,200.0 961.0,200.0 961.0,243.0 1041.0,243.0" data-evidence="1092-1093" />
|
||||
<rect class="edge-label-bg" x="959.2" y="207.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="985.0" y="222.5">chunk</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="881.0,403.0 961.0,403.0 961.0,261.0 1041.0,261.0" data-evidence="1092-1093" />
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="228.5,424.0 318.8,424.0 318.8,501.0 409.0,501.0" data-evidence="1084-1084,1290-1297" />
|
||||
<rect class="edge-label-bg" x="317.0" y="448.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="342.8" y="463.5">trace</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="559.0,501.0 645.0,501.0 645.0,412.0 731.0,412.0" data-evidence="1086-1087,1290-1297" />
|
||||
<rect class="edge-label-bg" x="626.5" y="442.5" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="669.0" y="457.5">push :4317</text>
|
||||
<g id="node-host">
|
||||
<rect class="node-shape kind-infrastructure emphasis-normal role-source" data-evidence="1083-1083" x="78.5" y="60.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="153.5" y="87.0">호스트 커널·파일시스템</text>
|
||||
<line class="node-detail-divider" x1="92.5" y1="108.0" x2="214.5" y2="108.0" />
|
||||
<text class="node-detail" x="94.5" y="125.0">CPU·메모리</text>
|
||||
<text class="node-detail" x="94.5" y="141.0">filesystem·inode</text>
|
||||
</g>
|
||||
<g id="node-podlogs">
|
||||
<rect class="node-shape kind-storage emphasis-normal role-source" data-evidence="1083-1083,1266-1272" x="70.0" y="220.0" width="167.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="153.5" y="247.0">/var/log/pods</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="268.0" x2="223.0" y2="268.0" />
|
||||
<text class="node-detail" x="86.0" y="285.0">hostPath, read-only</text>
|
||||
<text class="node-detail" x="86.0" y="301.0">이 노드의 파드만</text>
|
||||
</g>
|
||||
<g id="node-app-otlp">
|
||||
<rect class="node-shape kind-external emphasis-normal role-source" data-evidence="1084-1084,1290-1297" x="78.5" y="380.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="153.5" y="407.0">애플리케이션 OTLP</text>
|
||||
<line class="node-detail-divider" x1="92.5" y1="428.0" x2="214.5" y2="428.0" />
|
||||
<text class="node-detail" x="94.5" y="445.0">gRPC :4317</text>
|
||||
<text class="node-detail" x="94.5" y="461.0">현재 송신자 없음</text>
|
||||
</g>
|
||||
<g id="node-ksm">
|
||||
<rect class="node-shape kind-service emphasis-normal role-source" data-evidence="1095-1095" x="73.5" y="540.0" width="160.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="153.5" y="570.0">kube-state-metrics</text>
|
||||
</g>
|
||||
<g id="node-blackbox">
|
||||
<rect class="node-shape kind-service emphasis-normal role-source" data-evidence="1095-1095,1152-1154" x="77.0" y="676.0" width="153.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="153.5" y="703.0">Blackbox Exporter</text>
|
||||
<line class="node-detail-divider" x1="91.0" y1="724.0" x2="216.0" y2="724.0" />
|
||||
<text class="node-detail" x="93.0" y="741.0">:9115</text>
|
||||
<text class="node-detail" x="93.0" y="757.0">probe group 3벌</text>
|
||||
</g>
|
||||
<g id="node-node-exporter">
|
||||
<rect class="node-shape kind-service emphasis-normal role-source" data-evidence="1082-1084" x="397.0" y="279.5" width="174.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="484.0" y="306.5">node-exporter</text>
|
||||
<line class="node-detail-divider" x1="411.0" y1="327.5" x2="557.0" y2="327.5" />
|
||||
<text class="node-detail" x="413.0" y="344.5">DaemonSet</text>
|
||||
<text class="node-detail" x="413.0" y="360.5">호스트 CPU·메모리·FS·inode</text>
|
||||
</g>
|
||||
<g id="node-alloy">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="1082-1084,1263-1283" x="409.0" y="439.5" width="150.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="484.0" y="466.5">Alloy</text>
|
||||
<line class="node-detail-divider" x1="423.0" y1="487.5" x2="545.0" y2="487.5" />
|
||||
<text class="node-detail" x="425.0" y="504.5">DaemonSet</text>
|
||||
<text class="node-detail" x="425.0" y="520.5">[REDACTED] 마스킹</text>
|
||||
<text class="node-detail" x="425.0" y="536.5">label 6개로 제한</text>
|
||||
</g>
|
||||
<g id="node-loki">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1089-1090,1266-1272" x="731.0" y="156.5" width="150.0" height="105.0" /><ellipse class="node-shape kind-database emphasis-normal role-store" cx="806.0" cy="156.5" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 731.0 261.5 A 75.0 13.0 0 0 0 881.0 261.5" />
|
||||
<text class="node-label" x="806.0" y="183.5">Loki</text>
|
||||
<line class="node-detail-divider" x1="745.0" y1="204.5" x2="867.0" y2="204.5" />
|
||||
<text class="node-detail" x="747.0" y="221.5">:3100</text>
|
||||
<text class="node-detail" x="747.0" y="237.5">WAL 5Gi</text>
|
||||
<text class="node-detail" x="747.0" y="253.5">보존 30일</text>
|
||||
</g>
|
||||
<g id="node-tempo">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1089-1090,1290-1297" x="731.0" y="359.5" width="150.0" height="105.0" /><ellipse class="node-shape kind-database emphasis-normal role-store" cx="806.0" cy="359.5" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 731.0 464.5 A 75.0 13.0 0 0 0 881.0 464.5" />
|
||||
<text class="node-label" x="806.0" y="386.5">Tempo</text>
|
||||
<line class="node-detail-divider" x1="745.0" y1="407.5" x2="867.0" y2="407.5" />
|
||||
<text class="node-detail" x="747.0" y="424.5">:4317 / :3200</text>
|
||||
<text class="node-detail" x="747.0" y="440.5">WAL 5Gi</text>
|
||||
<text class="node-detail" x="747.0" y="456.5">보존 7일</text>
|
||||
</g>
|
||||
<g id="node-prometheus">
|
||||
<rect class="node-shape kind-database emphasis-primary role-service" data-evidence="1089-1090,1128-1130" x="731.0" y="562.5" width="150.0" height="105.0" /><ellipse class="node-shape kind-database emphasis-primary role-service" cx="806.0" cy="562.5" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 731.0 667.5 A 75.0 13.0 0 0 0 881.0 667.5" />
|
||||
<text class="node-label" x="806.0" y="589.5">Prometheus</text>
|
||||
<line class="node-detail-divider" x1="745.0" y1="610.5" x2="867.0" y2="610.5" />
|
||||
<text class="node-detail" x="747.0" y="627.5">TSDB 20Gi</text>
|
||||
<text class="node-detail" x="747.0" y="643.5">15d / 16GB</text>
|
||||
<text class="node-detail" x="747.0" y="659.5">scrape 30s</text>
|
||||
</g>
|
||||
<g id="node-aistor">
|
||||
<rect class="node-shape kind-storage emphasis-normal role-store" data-evidence="1092-1093" x="1041.0" y="208.0" width="150.0" height="88.0" /><ellipse class="node-shape kind-storage emphasis-normal role-store" cx="1116.0" cy="208.0" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 1041.0 296.0 A 75.0 13.0 0 0 0 1191.0 296.0" />
|
||||
<text class="node-label" x="1116.0" y="235.0">AIStor S3</text>
|
||||
<line class="node-detail-divider" x1="1055.0" y1="256.0" x2="1177.0" y2="256.0" />
|
||||
<text class="node-detail" x="1057.0" y="273.0">loki 버킷</text>
|
||||
<text class="node-detail" x="1057.0" y="289.0">tempo 버킷</text>
|
||||
</g>
|
||||
<g id="node-grafana">
|
||||
<rect class="node-shape kind-service emphasis-normal role-sink" data-evidence="1097-1097,1321-1323" x="1041.0" y="381.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1116.0" y="408.0">Grafana</text>
|
||||
<line class="node-detail-divider" x1="1055.0" y1="429.0" x2="1177.0" y2="429.0" />
|
||||
<text class="node-detail" x="1057.0" y="446.0">:3000</text>
|
||||
<text class="node-detail" x="1057.0" y="462.0">dashboard 5</text>
|
||||
</g>
|
||||
<g id="node-alertmanager">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1093-1094" x="1041.0" y="541.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1116.0" y="568.0">Alertmanager</text>
|
||||
<line class="node-detail-divider" x1="1055.0" y1="589.0" x2="1177.0" y2="589.0" />
|
||||
<text class="node-detail" x="1057.0" y="606.0">:9093</text>
|
||||
<text class="node-detail" x="1057.0" y="622.0">보존 120h</text>
|
||||
</g>
|
||||
<g id="node-slack">
|
||||
<rect class="node-shape kind-external emphasis-normal role-sink" data-evidence="1097-1097" x="1351.0" y="376.5" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="1426.0" y="403.5">Slack</text>
|
||||
<line class="node-detail-divider" x1="1365.0" y1="424.5" x2="1487.0" y2="424.5" />
|
||||
<text class="node-detail" x="1367.0" y="441.5">public HTTPS 443</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
+35
@@ -0,0 +1,35 @@
|
||||
# 요청 하나가 지나는 다섯 홉
|
||||
|
||||
## Alternative text
|
||||
|
||||
왼쪽의 클라이언트에서 출발한 화살표가 호스트 경계 안의 Host Nginx를 지나 k3s 클러스터 경계 안의 Traefik으로 들어가고, Traefik에서 다섯 서비스로 갈라진 뒤 그 가운데 Gitea와 Keycloak만 공용 PostgreSQL로 이어지는 구조도.
|
||||
|
||||
## Long description
|
||||
|
||||
클라이언트는 공개 인터넷, LAN 192.168.0.0/24, Tailscale 100.64.0.0/10 세 출발지를 가진다. 요청은 호스트 경계 안의 Host Nginx 443으로 들어가고 여기서만 TLS가 종료된다. Host Nginx는 관리 hostname에 source allowlist를 적용하고 forwarded header를 다시 쓴 뒤 loopback 127.0.0.1:30080 하나로만 넘긴다. k3s 클러스터 경계 안의 Traefik은 NodePort 30080을 kube-proxy nodeport-addresses=127.0.0.0/8로 loopback에 묶고, web entrypoint에서 10.42.0.1/32만 forwarded-header 신뢰 프록시로 인정한다. 거기서 Host 기반 Ingress 다섯 건이 Gitea, Keycloak, AIStor Console, pgAdmin, Grafana로 갈라진다. 상태 계층에서는 Gitea와 Keycloak만 공용 PostgreSQL의 read-write Service 5432로 이어지며, 이 Service에는 Ingress도 NodePort도 LoadBalancer도 없다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **Boundary: 호스트** (system): No additional description. Evidence: L98–L100.
|
||||
- **Boundary: k3s 클러스터** (system): No additional description. Evidence: L104–L121, L150–L160.
|
||||
- **클라이언트** (external): No additional description. Evidence: L93–L94.
|
||||
- **Host Nginx** (service): No additional description. Evidence: L98–L100.
|
||||
- **Traefik** (service): No additional description. Evidence: L104–L106.
|
||||
- **Gitea** (service): No additional description. Evidence: L111–L111, L134–L134.
|
||||
- **Grafana** (service): No additional description. Evidence: L115–L115, L136–L136.
|
||||
- **Keycloak** (security): No additional description. Evidence: L112–L112, L135–L135.
|
||||
- **AIStor Console** (service): No additional description. Evidence: L113–L113, L137–L137.
|
||||
- **pgAdmin** (service): No additional description. Evidence: L114–L114, L138–L138.
|
||||
- **platform-postgres-rw** (database): No additional description. Evidence: L119–L119, L142–L144.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **클라이언트 → Host Nginx:** HTTPS 443. Evidence: L93–L98.
|
||||
- **Gitea → platform-postgres-rw:** 5432. Evidence: L118–L119.
|
||||
- **Keycloak → platform-postgres-rw:** 5432. Evidence: L118–L119.
|
||||
- **Host Nginx → Traefik:** 127.0.0.1:30080. Evidence: L102–L104.
|
||||
- **Traefik → AIStor Console:** storage-admin. Evidence: L108–L113.
|
||||
- **Traefik → Gitea:** git. Evidence: L108–L111.
|
||||
- **Traefik → Grafana:** grafana. Evidence: L108–L115.
|
||||
- **Traefik → Keycloak:** id. Evidence: L108–L112.
|
||||
- **Traefik → pgAdmin:** db-admin. Evidence: L108–L114.
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
# 요청 하나가 지나는 다섯 홉
|
||||
# Question: 바깥에서 온 HTTPS 요청 하나는 어느 홉을 거쳐 어느 파드와 어느 저장소에 닿는가?
|
||||
direction: right
|
||||
g0: "호스트" {
|
||||
n1: "Host Nginx" {
|
||||
shape: rectangle
|
||||
}
|
||||
}
|
||||
g1: "k3s 클러스터" {
|
||||
n2: "Traefik" {
|
||||
shape: rectangle
|
||||
}
|
||||
n3: "Gitea" {
|
||||
shape: rectangle
|
||||
}
|
||||
n4: "Grafana" {
|
||||
shape: rectangle
|
||||
}
|
||||
n5: "Keycloak" {
|
||||
shape: rectangle
|
||||
}
|
||||
n6: "AIStor Console" {
|
||||
shape: rectangle
|
||||
}
|
||||
n7: "pgAdmin" {
|
||||
shape: rectangle
|
||||
}
|
||||
n8: "platform-postgres-rw" {
|
||||
shape: sql_table
|
||||
}
|
||||
}
|
||||
n0: "클라이언트" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> g0.n1: "HTTPS 443"
|
||||
g0.n1 -> g1.n2: "127.0.0.1:30080"
|
||||
g1.n2 -> g1.n3: "git"
|
||||
g1.n2 -> g1.n4: "grafana"
|
||||
g1.n2 -> g1.n5: "id"
|
||||
g1.n2 -> g1.n6: "storage-admin"
|
||||
g1.n2 -> g1.n7: "db-admin"
|
||||
g1.n3 -> g1.n8: "5432"
|
||||
g1.n5 -> g1.n8: "5432"
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
digraph techviz {
|
||||
graph [rankdir=LR, splines=ortho, nodesep=0.55, ranksep=0.85];
|
||||
node [fontname=Helvetica, fontsize=11, margin="0.18,0.12", style="rounded,filled", fillcolor=white, color="#2d4357", penwidth=1.5];
|
||||
edge [fontname=Helvetica, fontsize=10, color="#364b5f", penwidth=1.4, arrowsize=0.75];
|
||||
subgraph cluster_0 {
|
||||
label="호스트";
|
||||
style="rounded,dashed";
|
||||
color="#66788a";
|
||||
n1 [label="Host Nginx", shape=box, style="rounded,filled"];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
label="k3s 클러스터";
|
||||
style="rounded,dashed";
|
||||
color="#66788a";
|
||||
n2 [label="Traefik", shape=box, style="rounded,filled"];
|
||||
n3 [label="Gitea", shape=box, style="rounded,filled"];
|
||||
n4 [label="Grafana", shape=box, style="rounded,filled"];
|
||||
n5 [label="Keycloak", shape=box, style="rounded,filled"];
|
||||
n6 [label="AIStor Console", shape=box, style="rounded,filled"];
|
||||
n7 [label="pgAdmin", shape=box, style="rounded,filled"];
|
||||
n8 [label="platform-postgres-rw", shape=cylinder, style="rounded,filled"];
|
||||
}
|
||||
n0 [label="클라이언트", shape=box, style="rounded,dashed,filled"];
|
||||
n0 -> n1 [label="HTTPS 443", style=solid];
|
||||
n1 -> n2 [label="127.0.0.1:30080", style=solid];
|
||||
n2 -> n3 [label="git", style=solid];
|
||||
n2 -> n4 [label="grafana", style=solid];
|
||||
n2 -> n5 [label="id", style=solid];
|
||||
n2 -> n6 [label="storage-admin", style=solid];
|
||||
n2 -> n7 [label="db-admin", style=solid];
|
||||
n3 -> n8 [label="5432", style=solid];
|
||||
n5 -> n8 [label="5432", style=solid];
|
||||
}
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
|
||||
<diagram id="platform-request-path" name="요청 하나가 지나는 다섯 홉">
|
||||
<mxGraphModel dx="1746" dy="880" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1746" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="g_host-zone" value="호스트" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="395.0" y="346.5" width="234.0" height="177.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="g_cluster-zone" value="k3s 클러스터" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="729.0" y="35.0" width="972.0" height="800.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_client" value="클라이언트<br/>공개 인터넷<br/>LAN 192.168.0.0/24<br/>Tailscale 100.64.0.0/10" tooltip="external | Evidence: L93-L94" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="70.0" y="392.5" width="195.0" height="105.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_host-nginx" value="Host Nginx<br/>TLS 종료 :443<br/>source allowlist<br/>ssl_reject_handshake" tooltip="service | Evidence: L98-L100" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="425.0" y="392.5" width="174.0" height="105.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_traefik" value="Traefik<br/>NodePort 30080 (loopback)<br/>web trust 10.42.0.1/32" tooltip="service | Evidence: L104-L106" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="759.0" y="401.0" width="209.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_aistor-console" value="AIStor Console<br/>minio-aistor-console:9090<br/>LAN + Tailscale" tooltip="service | Evidence: L113-L113, L137-L137" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1128.0" y="81.0" width="209.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_gitea" value="Gitea<br/>gitea-http:3000<br/>공개 DNS 있음" tooltip="service | Evidence: L111-L111, L134-L134" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1157.5" y="241.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_grafana" value="Grafana<br/>grafana:80<br/>LAN + Tailscale" tooltip="service | Evidence: L115-L115, L136-L136" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1157.5" y="401.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_keycloak" value="Keycloak<br/>keycloak-service:8080<br/>공개 DNS 있음" tooltip="security | Evidence: L112-L112, L135-L135" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1142.0" y="561.0" width="181.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_pgadmin" value="pgAdmin<br/>pgadmin:80<br/>LAN + Tailscale" tooltip="service | Evidence: L114-L114, L138-L138" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1157.5" y="721.0" width="150.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_postgres" value="platform-postgres-rw<br/>:5432<br/>gitea DB<br/>keycloak DB<br/>ClusterIP 전용" tooltip="database | Evidence: L119-L119, L142-L144" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;" vertex="1" parent="1">
|
||||
<mxGeometry x="1497.0" y="371.0" width="174.0" height="148.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-client-nginx" value="HTTPS 443" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_client" target="n_host-nginx">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="345.0" y="417.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-gitea-postgres" value="5432" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_gitea" target="n_postgres">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1426.2" y="360.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-keycloak-postgres" value="5432" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_keycloak" target="n_postgres">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1434.0" y="529.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-nginx-traefik" value="127.0.0.1:30080" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_host-nginx" target="n_traefik">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="679.0" y="417.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-traefik-aistor" value="storage-admin" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_aistor-console">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1072.0" y="271.4" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-traefik-gitea" value="git" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_gitea">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1086.8" y="358.2" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-traefik-grafana" value="grafana" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_grafana">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1062.8" y="417.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-traefik-keycloak" value="id" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_keycloak">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1079.0" y="531.8" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_e-traefik-pgadmin" value="db-admin" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_traefik" target="n_pgadmin">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="1086.8" y="618.6" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
+1663
File diff suppressed because it is too large
Load Diff
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "platform-request-path",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "28fcb7b9ced96baf996e9cc85cc51c78136ba47ec4edcb434fcdc478cc2bddfa",
|
||||
"source_context": {
|
||||
"document": "docs/platform-infra/final/document.md",
|
||||
"document_sha256": "2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "2. 한 장으로 보는 전체 구조",
|
||||
"line": 88
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"platform-request-path.svg",
|
||||
"platform-request-path.mmd",
|
||||
"platform-request-path.d2",
|
||||
"platform-request-path.dot",
|
||||
"platform-request-path.drawio",
|
||||
"platform-request-path.excalidraw",
|
||||
"platform-request-path.alt.md"
|
||||
],
|
||||
"lint_issue_count": 3,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "component-flow",
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
%% 요청 하나가 지나는 다섯 홉
|
||||
%% question: 바깥에서 온 HTTPS 요청 하나는 어느 홉을 거쳐 어느 파드와 어느 저장소에 닿는가?
|
||||
flowchart LR
|
||||
subgraph g_host_zone["호스트"]
|
||||
n1["Host Nginx"]
|
||||
end
|
||||
subgraph g_cluster_zone["k3s 클러스터"]
|
||||
n2["Traefik"]
|
||||
n3["Gitea"]
|
||||
n4["Grafana"]
|
||||
n5["Keycloak"]
|
||||
n6["AIStor Console"]
|
||||
n7["pgAdmin"]
|
||||
n8[("platform-postgres-rw")]
|
||||
end
|
||||
n0(["클라이언트"])
|
||||
n0 -->|"HTTPS 443"| n1
|
||||
n1 -->|"127.0.0.1:30080"| n2
|
||||
n2 -->|"git"| n3
|
||||
n2 -->|"grafana"| n4
|
||||
n2 -->|"id"| n5
|
||||
n2 -->|"storage-admin"| n6
|
||||
n2 -->|"db-admin"| n7
|
||||
n3 -->|"5432"| n8
|
||||
n5 -->|"5432"| n8
|
||||
classDef external stroke-dasharray: 6 4
|
||||
class n0 external
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1746" height="880" viewBox="0 0 1746 880" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">요청 하나가 지나는 다섯 홉</title>
|
||||
<desc id="diagram-description">클라이언트는 공개 인터넷, LAN 192.168.0.0/24, Tailscale 100.64.0.0/10 세 출발지를 가진다. 요청은 호스트 경계 안의 Host Nginx 443으로 들어가고 여기서만 TLS가 종료된다. Host Nginx는 관리 hostname에 source allowlist를 적용하고 forwarded header를 다시 쓴 뒤 loopback 127.0.0.1:30080 하나로만 넘긴다. k3s 클러스터 경계 안의 Traefik은 NodePort 30080을 kube-proxy nodeport-addresses=127.0.0.0/8로 loopback에 묶고, web entrypoint에서 10.42.0.1/32만 forwarded-header 신뢰 프록시로 인정한다. 거기서 Host 기반 Ingress 다섯 건이 Gitea, Keycloak, AIStor Console, pgAdmin, Grafana로 갈라진다. 상태 계층에서는 Gitea와 Keycloak만 공용 PostgreSQL의 read-write Service 5432로 이어지며, 이 Service에는 Ingress도 NodePort도 LoadBalancer도 없다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"platform-request-path","profile":"component-flow"},"source_context":{"document":"docs/platform-infra/final/document.md","document_sha256":"2831219e5510d6eff44e36eb652d6e63637490c23e193c9134510dad1d6bf226","anchor":{"kind":"heading","value":"2. 한 장으로 보는 전체 구조","line":88}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1746" height="880" />
|
||||
<rect class="group-box" x="395.0" y="346.5" width="234.0" height="177.0" rx="8" />
|
||||
<rect class="group-label-bg" x="409.0" y="336.5" width="90.0" height="22" />
|
||||
<text class="group-label" x="419.0" y="351.5">호스트</text>
|
||||
<rect class="group-box" x="729.0" y="35.0" width="972.0" height="800.0" rx="8" />
|
||||
<rect class="group-label-bg" x="743.0" y="25.0" width="90.0" height="22" />
|
||||
<text class="group-label" x="753.0" y="40.0">k3s 클러스터</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="265.0,445.0 345.0,445.0 345.0,445.0 425.0,445.0" data-evidence="93-98" />
|
||||
<rect class="edge-label-bg" x="305.9" y="403.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="345.0" y="418.0">HTTPS 443</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="1307.5,285.0 1402.2,285.0 1402.2,436.0 1497.0,436.0" data-evidence="118-119" />
|
||||
<rect class="edge-label-bg" x="1403.8" y="346.5" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="1426.2" y="361.5">5432</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="1323.0,605.0 1410.0,605.0 1410.0,454.0 1497.0,454.0" data-evidence="118-119" />
|
||||
<rect class="edge-label-bg" x="1411.6" y="515.5" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="1434.0" y="530.5">5432</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="599.0,445.0 679.0,445.0 679.0,445.0 759.0,445.0" data-evidence="102-104" />
|
||||
<rect class="edge-label-bg" x="619.8" y="403.0" width="118.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="679.0" y="418.0">127.0.0.1:30080</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="968.0,417.7 1048.0,417.7 1048.0,125.0 1128.0,125.0" data-evidence="108-113" />
|
||||
<rect class="edge-label-bg" x="1019.5" y="257.4" width="105.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="1072.0" y="272.4">storage-admin</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="968.0,431.4 1062.8,431.4 1062.8,285.0 1157.5,285.0" data-evidence="108-111" />
|
||||
<rect class="edge-label-bg" x="1064.8" y="344.2" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="1086.8" y="359.2">git</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="968.0,445.0 1062.8,445.0 1062.8,445.0 1157.5,445.0" data-evidence="108-115" />
|
||||
<rect class="edge-label-bg" x="1030.3" y="403.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="1062.8" y="418.0">grafana</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="968.0,458.6 1055.0,458.6 1055.0,605.0 1142.0,605.0" data-evidence="108-112" />
|
||||
<rect class="edge-label-bg" x="1057.0" y="517.8" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="1079.0" y="532.8">id</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="968.0,472.3 1062.8,472.3 1062.8,765.0 1157.5,765.0" data-evidence="108-114" />
|
||||
<rect class="edge-label-bg" x="1051.0" y="604.6" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="1086.8" y="619.6">db-admin</text>
|
||||
<g id="node-client">
|
||||
<rect class="node-shape kind-external emphasis-normal role-source" data-evidence="93-94" x="70.0" y="392.5" width="195.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="167.5" y="419.5">클라이언트</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="440.5" x2="251.0" y2="440.5" />
|
||||
<text class="node-detail" x="86.0" y="457.5">공개 인터넷</text>
|
||||
<text class="node-detail" x="86.0" y="473.5">LAN 192.168.0.0/24</text>
|
||||
<text class="node-detail" x="86.0" y="489.5">Tailscale 100.64.0.0/10</text>
|
||||
</g>
|
||||
<g id="node-host-nginx">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="98-100" x="425.0" y="392.5" width="174.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="512.0" y="419.5">Host Nginx</text>
|
||||
<line class="node-detail-divider" x1="439.0" y1="440.5" x2="585.0" y2="440.5" />
|
||||
<text class="node-detail" x="441.0" y="457.5">TLS 종료 :443</text>
|
||||
<text class="node-detail" x="441.0" y="473.5">source allowlist</text>
|
||||
<text class="node-detail" x="441.0" y="489.5">ssl_reject_handshake</text>
|
||||
</g>
|
||||
<g id="node-traefik">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="104-106" x="759.0" y="401.0" width="209.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="863.5" y="428.0">Traefik</text>
|
||||
<line class="node-detail-divider" x1="773.0" y1="449.0" x2="954.0" y2="449.0" />
|
||||
<text class="node-detail" x="775.0" y="466.0">NodePort 30080 (loopback)</text>
|
||||
<text class="node-detail" x="775.0" y="482.0">web trust 10.42.0.1/32</text>
|
||||
</g>
|
||||
<g id="node-aistor-console">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="113-113,137-137" x="1128.0" y="81.0" width="209.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1232.5" y="108.0">AIStor Console</text>
|
||||
<line class="node-detail-divider" x1="1142.0" y1="129.0" x2="1323.0" y2="129.0" />
|
||||
<text class="node-detail" x="1144.0" y="146.0">minio-aistor-console:9090</text>
|
||||
<text class="node-detail" x="1144.0" y="162.0">LAN + Tailscale</text>
|
||||
</g>
|
||||
<g id="node-gitea">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="111-111,134-134" x="1157.5" y="241.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1232.5" y="268.0">Gitea</text>
|
||||
<line class="node-detail-divider" x1="1171.5" y1="289.0" x2="1293.5" y2="289.0" />
|
||||
<text class="node-detail" x="1173.5" y="306.0">gitea-http:3000</text>
|
||||
<text class="node-detail" x="1173.5" y="322.0">공개 DNS 있음</text>
|
||||
</g>
|
||||
<g id="node-grafana">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="115-115,136-136" x="1157.5" y="401.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1232.5" y="428.0">Grafana</text>
|
||||
<line class="node-detail-divider" x1="1171.5" y1="449.0" x2="1293.5" y2="449.0" />
|
||||
<text class="node-detail" x="1173.5" y="466.0">grafana:80</text>
|
||||
<text class="node-detail" x="1173.5" y="482.0">LAN + Tailscale</text>
|
||||
</g>
|
||||
<g id="node-keycloak">
|
||||
<rect class="node-shape kind-security emphasis-normal role-service" data-evidence="112-112,135-135" x="1142.0" y="561.0" width="181.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1232.5" y="588.0">Keycloak</text>
|
||||
<line class="node-detail-divider" x1="1156.0" y1="609.0" x2="1309.0" y2="609.0" />
|
||||
<text class="node-detail" x="1158.0" y="626.0">keycloak-service:8080</text>
|
||||
<text class="node-detail" x="1158.0" y="642.0">공개 DNS 있음</text>
|
||||
</g>
|
||||
<g id="node-pgadmin">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="114-114,138-138" x="1157.5" y="721.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="1232.5" y="748.0">pgAdmin</text>
|
||||
<line class="node-detail-divider" x1="1171.5" y1="769.0" x2="1293.5" y2="769.0" />
|
||||
<text class="node-detail" x="1173.5" y="786.0">pgadmin:80</text>
|
||||
<text class="node-detail" x="1173.5" y="802.0">LAN + Tailscale</text>
|
||||
</g>
|
||||
<g id="node-postgres">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="119-119,142-144" x="1497.0" y="384.0" width="174.0" height="122.0" /><ellipse class="node-shape kind-database emphasis-normal role-store" cx="1584.0" cy="384.0" rx="87.0" ry="13.0" /><path class="storage-bottom" d="M 1497.0 506.0 A 87.0 13.0 0 0 0 1671.0 506.0" />
|
||||
<text class="node-label" x="1584.0" y="411.0">platform-postgres-rw</text>
|
||||
<line class="node-detail-divider" x1="1511.0" y1="432.0" x2="1657.0" y2="432.0" />
|
||||
<text class="node-detail" x="1513.0" y="449.0">:5432</text>
|
||||
<text class="node-detail" x="1513.0" y="465.0">gitea DB</text>
|
||||
<text class="node-detail" x="1513.0" y="481.0">keycloak DB</text>
|
||||
<text class="node-detail" x="1513.0" y="497.0">ClusterIP 전용</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
Playwright MCP 로 찍은 브라우저 캡처. 무엇을 찍었는지 한 줄을 적는다.
|
||||
@@ -0,0 +1 @@
|
||||
그 실행의 command·cwd·executedAt·exitCode·revision. 형식은 evidence.json.
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "aistor-objectstore-and-bucket-usage",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:39:57+09:00",
|
||||
"command": "kubectl -n object-storage get objectstore -o wide; echo; kubectl -n object-storage get objectstore minio-aistor -o jsonpath=\"{.status}\"; echo; kubectl -n observability port-forward svc/observability-core-kube-pr-prometheus 19090:9090 >/dev/null 2>&1 & sleep 4; for q in \"minio_cluster_usage_buckets_total_bytes\" \"platform:aistor_bucket_quota_usage_percent\"; do echo \"-- $q\"; curl -s --get --data-urlencode \"query=$q\" http://127.0.0.1:19090/api/v1/query | python3 -c \"\nimport sys,json\nfor r in json.load(sys.stdin)[\\\"data\\\"][\\\"result\\\"]:\n print(\\\" \\\", r[\\\"metric\\\"].get(\\\"bucket\\\"), r[\\\"value\\\"][1])\"; done; pkill -f \"port-forward svc/observability-core-kube-pr-prometheus\"",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/aistor-objectstore-and-bucket-usage.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "ObjectStore Initialized/green, drive 1개 online, loki 버킷 사용량과 quota 사용률",
|
||||
"doesNotProve": "S3 읽기·쓰기 기능 시험이 아니고 백업 복구 가능성도 증명하지 않는다",
|
||||
"sha256": "b12d9ce5336b299c5bc6661db61bb7decff6f7239cf9c7b3f2cd9aa23daa5110",
|
||||
"bytes": 647
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "alertmanager-receivers-and-alerts",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:39:52+09:00",
|
||||
"command": "kubectl -n observability port-forward svc/observability-core-kube-pr-alertmanager 19093:9093 >/dev/null 2>&1 & sleep 4; curl -s http://127.0.0.1:19093/api/v2/status | python3 -c \"import sys,json;d=json.load(sys.stdin);print(\\\"version:\\\",d[\\\"versionInfo\\\"][\\\"version\\\"])\"; echo \"receivers:\"; curl -s http://127.0.0.1:19093/api/v2/receivers; echo; curl -s http://127.0.0.1:19093/api/v2/alerts | python3 -c \"import sys,json;print(\\\"activeAlerts:\\\",len(json.load(sys.stdin)))\"; curl -s http://127.0.0.1:19093/api/v2/silences | python3 -c \"import sys,json;print(\\\"silences:\\\",len(json.load(sys.stdin)))\"; pkill -f \"port-forward svc/observability-core-kube-pr-alertmanager\"",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/alertmanager-receivers-and-alerts.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "런타임 receiver 가 qualified 이름 두 개뿐이고 active alert·silence 가 0",
|
||||
"doesNotProve": "Slack 전달 성공 여부는 이 출력으로 알 수 없다",
|
||||
"sha256": "f8435bf3809153c1338913f15777208678b9db129d8a66be1b606a209067ef61",
|
||||
"bytes": 322
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "backup-absence",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:45:09+09:00",
|
||||
"command": "kubectl get cronjob -A 2>&1; echo \"--- jobs ---\"; kubectl get job -A 2>&1; echo \"--- cnpg backup CR ---\"; kubectl get scheduledbackup,backup -A 2>&1; echo \"--- cluster.yaml 의 backup 관련 줄 ---\"; grep -n \"backup\\|barmanObjectStore\\|plugin\" /home/donghyeon/workspace/platform/services/platform-postgres/base/cluster.yaml || echo \"(없음)\"",
|
||||
"cwd": "ssh desktop",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/backup-absence.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "CronJob 0건, CNPG ScheduledBackup/Backup 0건, Cluster 선언에 backup 섹션 없음",
|
||||
"doesNotProve": "다른 방식(수동 pg_dump 등)으로 백업한 적이 있는지는 알 수 없다",
|
||||
"sha256": "86238a67c0bf1f154b2c38d3ef6fe1223f81d8e47a6e45d48e281f62d57df79f",
|
||||
"bytes": 369
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "cluster-networkpolicy-and-storage",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:39:47+09:00",
|
||||
"command": "kubectl get netpol -A; echo; kubectl get pv -o wide; echo; kubectl get pvc -A; echo; kubectl get sc",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/cluster-networkpolicy-and-storage.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "namespace 별 NetworkPolicy 58건과 정적 Local PV 10개·StorageClass 11개의 Bound 상태",
|
||||
"doesNotProve": "정책이 선언돼 있다는 것이지 CNI 가 실제로 집행한다는 증거는 아니다",
|
||||
"sha256": "1b55cc39b8fe214789dc2a3975409e0368f57944cdeb17427ebe2589baaaa52b",
|
||||
"bytes": 19297
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "cluster-node-and-pods",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:39:46+09:00",
|
||||
"command": "kubectl get nodes -o wide; echo; kubectl get ns; echo; kubectl get pods -A -o wide",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/cluster-node-and-pods.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "2026-09-20 시점 단일 노드 k3s 의 노드 사양과 전 namespace 파드 목록·Ready 상태",
|
||||
"doesNotProve": "파드가 Ready 라는 것이 각 서비스의 기능 정상을 뜻하지는 않는다",
|
||||
"sha256": "b0282c2926568b1694b1d9b942f16977d0dde2317405f50e6a5e6a2da84286be",
|
||||
"bytes": 5958
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "cluster-services-and-ingress",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:39:47+09:00",
|
||||
"command": "kubectl get svc -A -o wide; echo; kubectl get ingress -A -o wide; echo; kubectl get ingressclass",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/cluster-services-and-ingress.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "Service type 과 Ingress host 목록. 외부로 나가는 것은 Traefik NodePort 하나뿐임",
|
||||
"doesNotProve": "Host Nginx 의 source allowlist 는 이 출력에 없다",
|
||||
"sha256": "dab45a9dfa608faf6ca6ab840bf751cd007ba04d533e1c95c9f87a8f624c6fdf",
|
||||
"bytes": 7788
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "disk-usage-attribution",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T16:33:04+09:00",
|
||||
"command": "bash raw/scripts/disk-probe.sh (ssh desktop 에서 실행. 스크립트 전문을 증거로 함께 보존한다)",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/disk-usage-attribution.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "루트 SSD 사용량의 내역과 관측성이 실제로 차지하는 몫. local PV 의 kubelet_volume_stats_* 가 PVC 가 아니라 파일시스템 전체를 되풀이한다는 것도 함께 보인다",
|
||||
"doesNotProve": "sudo 가 없어 /var/lib/docker · /var/lib/containerd · /var/lib/rancher/k3s/agent/containerd · /root 를 못 읽었다. 약 53G 가 미귀속으로 남고, Tempo 의 로컬 작업공간도 재지 못했다",
|
||||
"sha256": "2605537ee5d1d5d2435098530b20701070469d17c5e5d6dde32828f355c5675b",
|
||||
"bytes": 4409,
|
||||
"commandScript": {
|
||||
"path": "evidence/raw/scripts/disk-probe.sh",
|
||||
"sha256": "f80ffc872e4a93d59754596b16e23ed9e44c4cafa0bf5f274434b4d83e22f64a",
|
||||
"bytes": 3082
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "edge-boundary-probe",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:03+09:00",
|
||||
"command": "echo -n \"public gitea /api/healthz: \"; curl -s -o /dev/null -w \"%{http_code}\\n\" https://git.learn.hyeonworks.com/api/healthz; echo -n \"keycloak discovery issuer: \"; curl -s https://id.learn.hyeonworks.com/realms/hyeonworks/.well-known/openid-configuration | python3 -c \"import sys,json;print(json.load(sys.stdin)[\\\"issuer\\\"])\"; echo -n \"private grafana /api/health: \"; curl -s -o /dev/null -w \"%{http_code}\\n\" https://grafana.learn.hyeonworks.com/api/health; echo -n \"NodePort via LAN IP 192.168.0.107:30080: \"; timeout 4 curl -s -o /dev/null -w \"%{http_code}\\n\" http://192.168.0.107:30080/; echo -n \"NodePort via loopback 127.0.0.1:30080: \"; curl -s -o /dev/null -w \"%{http_code}\\n\" http://127.0.0.1:30080/",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/edge-boundary-probe.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "public 두 hostname 은 200, NodePort 는 LAN IP 에서 거부되고 loopback 에서만 도달",
|
||||
"doesNotProve": "외부망(집 밖)에서의 고포트 차단은 이 호스트 안에서 확인할 수 없다",
|
||||
"sha256": "5e8fd079a889fd766ead453a2407ff2f65dfde0f9021ee1c58478bf845b49f9a",
|
||||
"bytes": 229
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "edge-tls-certificates",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:02+09:00",
|
||||
"command": "for h in git id storage-admin db-admin grafana; do echo \"=== $h.learn.hyeonworks.com ===\"; echo | openssl s_client -connect 127.0.0.1:443 -servername $h.learn.hyeonworks.com 2>/dev/null | openssl x509 -noout -subject -issuer -dates -ext subjectAltName; done",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/edge-tls-certificates.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "다섯 hostname 이 실제로 제시하는 인증서의 subject·SAN·유효기간",
|
||||
"doesNotProve": "인증서 갱신 자동화가 동작하는지는 증명하지 않는다",
|
||||
"sha256": "d54daef40ed775b92f3e684c11b429b7da6378b9cfd2be8b58d35054883fe11f",
|
||||
"bytes": 1444
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "git-remote-and-gitea-repos",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:45:09+09:00",
|
||||
"command": "cd /home/donghyeon/workspace/platform && echo \"=== git remote ===\" && git remote -v && echo \"=== branch -vv ===\" && git branch -vv && echo \"=== ls-remote ===\" && timeout 15 git ls-remote origin && echo \"=== CI 디렉터리 ===\" && (ls -d .github .gitea .gitlab-ci.yml 2>&1 || true) && echo \"=== .helm 추적 파일 수 ===\" && git ls-files | grep -c \"\\.helm/\" ; echo \"=== 추적 파일 수 ===\" ; git ls-files | wc -l ; echo \"=== local-recovery.env 추적 여부 ===\" ; git ls-files --error-unmatch infrastructure/security/k3s/local-recovery.env 2>&1 | head -2 ; echo \"=== Gitea 저장소 목록 (익명 API) ===\" ; curl -s \"https://git.learn.hyeonworks.com/api/v1/repos/search?limit=30\" | python3 -c \"\nimport sys,json\nd=json.load(sys.stdin)\nprint(\\\"count:\\\",len(d.get(\\\"data\\\",[])))\nfor r in d.get(\\\"data\\\",[]): print(\\\" \\\",r[\\\"full_name\\\"],\\\"private\\\" if r[\\\"private\\\"] else \\\"public\\\",r.get(\\\"updated_at\\\"))\" ; echo \"=== 익명 raw 파일 접근 ===\" ; curl -s -o /dev/null -w \"platform-core/README.md -> %{http_code}\\n\" \"https://git.learn.hyeonworks.com/donghyeon.kang/platform-core/raw/branch/main/README.md\" ; echo \"=== alert runbook_url 응답 ===\" ; curl -s -o /dev/null -w \"project-infra runbook -> %{http_code}\\n\" \"https://git.learn.hyeonworks.com/donghyeon.kang/project-infra/src/branch/main/docs/runbooks/2026-07-31-observability-access-cutover.md\"",
|
||||
"cwd": "ssh desktop:/home/donghyeon/workspace/platform",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/git-remote-and-gitea-repos.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "platform 저장소가 Gitea origin/main 과 같은 커밋이고, Gitea 에 저장소 20개 이상이 오늘까지 갱신되고 있으며 전부 public",
|
||||
"doesNotProve": "이 기계에서 push 했다는 직접 증거는 아니다. 원격에 그 커밋이 있다는 것까지다",
|
||||
"sha256": "ee0760a38d02f3ff20783239bb872d142db2061e8e9c4c083998fcf1827a032e",
|
||||
"bytes": 2386
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "host-nginx-active-config",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:02+09:00",
|
||||
"command": "cat /etc/nginx/sites-available/learn-services",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/host-nginx-active-config.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "현재 /etc/nginx/sites-available/learn-services 전문 — 다섯 hostname 의 TLS 종료와 source allowlist",
|
||||
"doesNotProve": "이 파일이 저장소의 어느 후보와 같은지는 별도 대조가 필요하다",
|
||||
"sha256": "7d2de2a92c3597a0859775da1d2ccbf5a3d72c0b2af5cac2439c82311361f801",
|
||||
"bytes": 7064
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "host-private-dns-config",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:02+09:00",
|
||||
"command": "systemctl is-active hyeonworks-dnsmasq-lan hyeonworks-dnsmasq-tailscale; echo; cat /etc/dnsmasq-hyeonworks/lan.conf; echo; cat /etc/dnsmasq-hyeonworks/tailscale.conf; echo; tailscale ip -4; ip -4 -br addr",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/host-private-dns-config.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "LAN·Tailscale dnsmasq 인스턴스 두 개의 listen 주소와 다섯 hostname 정적 응답",
|
||||
"doesNotProve": "공유기 DHCP DNS 와 Tailscale split DNS 등록 상태는 호스트 밖이라 확인하지 않았다",
|
||||
"sha256": "ab28c8d688d89628833b336c97871e2e00a54aad68c6e64e18ad5df8b64832bc",
|
||||
"bytes": 1308
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "k3s-config-dropins-and-storage",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:03+09:00",
|
||||
"command": "cat /etc/rancher/k3s/config.yaml.d/*.yaml; echo; findmnt /srv/k3s/aistor; echo; df -hT / /srv/k3s/aistor /mnt/hdd-archive; echo; lsblk -o NAME,SIZE,FSTYPE,LABEL,MOUNTPOINT",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/k3s-config-dropins-and-storage.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "k3s drop-in 두 개(NodePort loopback 제한·Secret 암호화)와 AIStor XFS 마운트 옵션",
|
||||
"doesNotProve": "secrets-encrypt status 는 sudo 가 필요해 읽지 않았다. 설정 파일이 켜져 있다는 것과 재암호화가 끝났다는 것은 다르다",
|
||||
"sha256": "00b1ada6958e0d047c444e97814b6b80c6c8eaa60166f2fbb647511ecc8638b0",
|
||||
"bytes": 3162
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "node-resource-allocation",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:03+09:00",
|
||||
"command": "kubectl describe node | sed -n \"/Allocated resources/,/Events/p\"; echo; kubectl top node; echo; kubectl top pod -A --sort-by=memory",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/node-resource-allocation.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "노드의 request/limit 합계와 실제 사용량, 워크로드별 메모리 상위",
|
||||
"doesNotProve": "순간 측정값이고 부하 시험 결과가 아니다",
|
||||
"sha256": "e5666323a89b768709d6924d517c6293299e46affc56f0673b9e10313ee284b7",
|
||||
"bytes": 3322
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "platform-repo-loc",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:05+09:00",
|
||||
"command": "cd /home/donghyeon/workspace/platform && git rev-parse HEAD && git status --short && echo \"--- 영역별 (vendored chart 제외) ---\" && for d in bootstrap clusters components docs infrastructure services scripts; do n=$(find $d -type f -not -path \"*/.helm/*\" | wc -l); l=$(find $d -type f -not -path \"*/.helm/*\" -exec cat {} + 2>/dev/null | wc -l); printf \"%-16s %4d files %8d lines\\n\" \"$d/\" \"$n\" \"$l\"; done && echo \"--- scripts 세부 ---\" && for d in scripts/bootstrap scripts/validate scripts/lib scripts/libexec; do n=$(find $d -type f|wc -l); l=$(find $d -type f -exec cat {} + | wc -l); printf \"%-20s %4d files %8d lines\\n\" \"$d/\" \"$n\" \"$l\"; done && echo \"--- scripts/validate/test-* ---\" && printf \"%d files %d lines\\n\" \"$(ls scripts/validate/test-*|wc -l)\" \"$(cat scripts/validate/test-*|wc -l)\" && echo \"--- vendored .helm ---\" && printf \"%d files %d lines\\n\" \"$(find . -path \"*/.helm/*\" -type f|wc -l)\" \"$(find . -path \"*/.helm/*\" -type f -exec cat {} + 2>/dev/null |wc -l)\"",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/platform-repo-loc.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "platform 저장소의 영역별 파일 수와 줄 수 — 선언 대 자동화 비율",
|
||||
"doesNotProve": "줄 수가 품질이나 커버리지를 뜻하지 않는다",
|
||||
"sha256": "8f5de0bb5475e993f4e0682597b0279b3c72c51c2130f47a68aca172f3e6b758",
|
||||
"bytes": 694
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "prometheus-targets-and-rules",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:39:48+09:00",
|
||||
"command": "kubectl -n observability port-forward svc/observability-core-kube-pr-prometheus 19090:9090 >/dev/null 2>&1 & sleep 4; curl -s \"http://127.0.0.1:19090/api/v1/targets?state=active\" | python3 -c \"import sys,json;d=json.load(sys.stdin)[\\\"data\\\"][\\\"activeTargets\\\"];print(\\\"activeTargets:\\\",len(d));print(\\\"up:\\\",sum(1 for t in d if t[\\\"health\\\"]==\\\"up\\\"))\"; curl -s \"http://127.0.0.1:19090/api/v1/rules\" | python3 -c \"\nimport sys,json\ng=json.load(sys.stdin)[\\\"data\\\"][\\\"groups\\\"]\na=sum(1 for x in g for r in x[\\\"rules\\\"] if r[\\\"type\\\"]==\\\"alerting\\\")\nc=sum(1 for x in g for r in x[\\\"rules\\\"] if r[\\\"type\\\"]!=\\\"alerting\\\")\nf=[r[\\\"name\\\"] for x in g for r in x[\\\"rules\\\"] if r.get(\\\"state\\\")==\\\"firing\\\"]\nb=[(x[\\\"name\\\"],r[\\\"name\\\"],r.get(\\\"health\\\")) for x in g for r in x[\\\"rules\\\"] if r.get(\\\"health\\\")!=\\\"ok\\\"]\nprint(\\\"groups:\\\",len(g),\\\"alertRules:\\\",a,\\\"recordingRules:\\\",c)\nprint(\\\"firing:\\\",f)\nprint(\\\"unhealthy:\\\",b)\"; pkill -f \"port-forward svc/observability-core-kube-pr-prometheus\"",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/prometheus-targets-and-rules.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "active target 30/30 healthy, alert rule 155·recording rule 86, firing 0",
|
||||
"doesNotProve": "scrape 시점의 target 건강이며 155개 alert 조건을 각각 주입 시험했다는 뜻이 아니다",
|
||||
"sha256": "927a91f0f90f62ef57729c1e5e9f42c45ab8168608df62e86aa777d95f0330d0",
|
||||
"bytes": 96
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "running-container-images",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:04+09:00",
|
||||
"command": "kubectl get pods -A -o jsonpath=\"{range .items[*]}{.metadata.namespace}{\\\"/\\\"}{.metadata.name}{\\\"\\t\\\"}{range .spec.containers[*]}{.image}{\\\" \\\"}{end}{\\\"\\n\\\"}{end}\" | sort",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/running-container-images.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "실제로 돌고 있는 컨테이너 이미지와 tag·digest",
|
||||
"doesNotProve": "저장소의 고정 버전과 같은지는 별도 대조가 필요하다",
|
||||
"sha256": "51f660cae3924165616438ac138cb4796eb1b4729117f55c08a905ad541c39cd",
|
||||
"bytes": 3467
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "secret-inventory-names-only",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:01+09:00",
|
||||
"command": "kubectl get secrets -A --no-headers -o custom-columns=\"NS:.metadata.namespace,NAME:.metadata.name,TYPE:.type\" | grep -v \"helm.sh/release\" | sort",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/secret-inventory-names-only.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "클러스터의 Secret 이름과 type 목록. payload 는 읽지 않았다",
|
||||
"doesNotProve": "값이 올바른지, 회전됐는지는 알 수 없다",
|
||||
"sha256": "799970692bdd846dac857132c4ee37f1a6a6f09178b2d22a4b155fa03b14daa8",
|
||||
"bytes": 4867
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"id": "tailscale-peer-vantage",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:45:10+09:00",
|
||||
"command": "echo \"=== 이 호스트 ===\"; hostname; ip -4 -br addr | head -5; echo \"=== 이름 해석 ===\"; getent hosts git.learn.hyeonworks.com id.learn.hyeonworks.com storage-admin.learn.hyeonworks.com db-admin.learn.hyeonworks.com grafana.learn.hyeonworks.com; echo \"=== HTTP ===\"; for u in https://git.learn.hyeonworks.com/api/healthz https://storage-admin.learn.hyeonworks.com/ https://db-admin.learn.hyeonworks.com/ https://grafana.learn.hyeonworks.com/api/health; do printf \"%-60s \" \"$u\"; timeout 15 curl -s -o /dev/null -w \"%{http_code}\\n\" \"$u\"; done; echo \"=== NodePort ===\"; printf \"%-60s \" \"http://192.168.0.107:30080/\"; timeout 5 curl -s -o /dev/null -w \"%{http_code}\\n\" \"http://192.168.0.107:30080/\"; printf \"%-60s \" \"http://192.168.0.107:30443/\"; timeout 5 curl -s -o /dev/null -w \"%{http_code}\\n\" \"http://192.168.0.107:30443/\"",
|
||||
"cwd": "donghyeon-960XGK (192.168.0.103 / tailscale 100.123.124.30) — desktop 이 아니라 별도 호스트",
|
||||
"exitCode": 7,
|
||||
"rawPath": "evidence/raw/tailscale-peer-vantage.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "다른 호스트(Tailscale peer, LAN 192.168.0.103)에서 다섯 이름이 Tailscale 주소로 풀리고, 관리 hostname 이 200, NodePort 는 거부됨",
|
||||
"doesNotProve": "LAN·Tailscale 밖(공개 인터넷)에서의 동작은 여전히 확인하지 않았다",
|
||||
"sha256": "199cb45c54d1391b473d347a893226d56c115aaa1abb3b441abae52e546eeb82",
|
||||
"bytes": 946,
|
||||
"exitCodeNote": "7 은 마지막 명령인 NodePort curl 의 종료 코드다. 연결 거부가 이 증거의 결론이므로 비정상이 아니다. 앞의 모든 단계는 정상 출력됐다."
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "traefik-live-helmchartconfig",
|
||||
"kind": "terminal",
|
||||
"sourceRevision": "16c337bcc91b27ac0f074154b8337e4c8dc17ebb",
|
||||
"executedAt": "2026-09-20T14:40:05+09:00",
|
||||
"command": "kubectl -n kube-system get helmchartconfig traefik -o jsonpath=\"{.spec.valuesContent}\"",
|
||||
"cwd": "ssh desktop (donghyeon-System-Product-Name, 192.168.0.107)",
|
||||
"exitCode": 0,
|
||||
"rawPath": "evidence/raw/traefik-live-helmchartconfig.txt",
|
||||
"presentationPath": null,
|
||||
"proves": "라이브 HelmChartConfig 에 forwardedHeaders.trustedIPs 10.42.0.1/32 가 들어 있음",
|
||||
"doesNotProve": "저장소의 기본 build root 가 이 값을 렌더하는지는 별도 대조가 필요하다",
|
||||
"sha256": "0afdfe8eb408027273351a0b78f5a974e5d30ed92d186be9ad19939ebf19053f",
|
||||
"bytes": 817
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
명령 출력·csv·덤프 원문. 여기가 정본이다.
|
||||
하위 폴더를 자유롭게 둔다(explain/, guards/). 폴더마다 무엇을 담았는지 한 줄을 README.txt 에 적는다.
|
||||
|
||||
이 폴더의 20벌은 2026-09-20 에 단일 노드 k3s 호스트(desktop, 192.168.0.107)와
|
||||
그 밖의 호스트 한 대에서 돌린 read-only 관측이다. 클러스터를 바꾸는 명령은 없다.
|
||||
같은 이름의 meta/<id>.json 에 command·cwd·executedAt·exitCode·revision·sha256 이 있다.
|
||||
|
||||
cluster-* kubectl 로 본 노드·파드·Service·Ingress·NetworkPolicy·PV/PVC
|
||||
prometheus-* alertmanager-* 관측성 백엔드의 읽기 API 응답 (target·rule·receiver)
|
||||
aistor-* ObjectStore 상태와 버킷 사용량·quota 사용률
|
||||
secret-inventory-* Secret 의 이름과 type 만. payload 는 읽지 않았다
|
||||
host-* 호스트 Nginx 설정과 사설 DNS 설정 원문
|
||||
edge-* 인증서와 엣지 경계(public 200 · NodePort 거부) 확인
|
||||
k3s-config-* k3s drop-in 두 개와 디스크 마운트
|
||||
node-resource-* running-* 노드 자원 배분과 실제 이미지
|
||||
traefik-live-* 라이브 HelmChartConfig 의 forwarded-header 신뢰 경계
|
||||
git-remote-* backup-* Gitea 원격 상태와 백업 리소스 부재
|
||||
platform-repo-loc 저장소 영역별 파일·줄 수
|
||||
tailscale-peer-vantage desktop 이 아니라 다른 호스트에서 본 결과
|
||||
disk-usage-attribution 워크로드별 실사용량과 루트 파일시스템 내역. 만든 스크립트는
|
||||
raw/scripts/disk-probe.sh 에 함께 둔다
|
||||
|
||||
scripts/ 는 원문이 아니라 원문을 만든 명령이다.
|
||||
@@ -0,0 +1,10 @@
|
||||
NAME STATE HEALTH AGE
|
||||
minio-aistor Initialized green 58d
|
||||
|
||||
{"certificates":{"customCertificates":{}},"currentState":"Initialized","drivesOffline":0,"drivesOnline":1,"healthStatus":"green","pools":[{"name":"pool-0","podStatus":{"running":1},"ssName":"minio-aistor-pool-0","state":"PoolCreated"}],"revision":0,"setup":100,"syncVersion":"v6.0.0","usage":{"capacity":999892553728,"rawCapacity":999892553728,"rawUsage":20085288960,"usage":20085288960},"writeQuorum":1}
|
||||
-- minio_cluster_usage_buckets_total_bytes
|
||||
loki 866300448
|
||||
tempo 0
|
||||
-- platform:aistor_bucket_quota_usage_percent
|
||||
loki 0.40340258181095123
|
||||
tempo 0
|
||||
@@ -0,0 +1,6 @@
|
||||
version: 0.33.1
|
||||
receivers:
|
||||
[{"labels":{"name":"observability/platform-alertmanager/platform-null"},"name":"observability/platform-alertmanager/platform-null"},{"labels":{"name":"observability/platform-alertmanager/platform-slack"},"name":"observability/platform-alertmanager/platform-slack"}]
|
||||
|
||||
activeAlerts: 0
|
||||
silences: 0
|
||||
@@ -0,0 +1,9 @@
|
||||
No resources found
|
||||
--- jobs ---
|
||||
NAMESPACE NAME STATUS COMPLETIONS DURATION AGE
|
||||
kube-system helm-install-traefik Complete 1/1 6s 40d
|
||||
kube-system helm-install-traefik-crd Complete 1/1 29s 63d
|
||||
--- cnpg backup CR ---
|
||||
No resources found
|
||||
--- cluster.yaml 의 backup 관련 줄 ---
|
||||
(없음)
|
||||
@@ -0,0 +1,96 @@
|
||||
NAMESPACE NAME POD-SELECTOR AGE
|
||||
aistor aistor-allow-api-server-admission-webhook aistor.min.io/name=object-store-webhook 58d
|
||||
aistor aistor-allow-dns <none> 58d
|
||||
aistor aistor-allow-kubernetes-api <none> 58d
|
||||
aistor aistor-allow-object-store-management aistor.min.io/name in (adminjob-operator,object-store-operator) 58d
|
||||
aistor aistor-default-deny <none> 58d
|
||||
gitea gitea-allow-dns app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 59d
|
||||
gitea gitea-allow-host-nginx-keycloak app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 58d
|
||||
gitea gitea-allow-platform-postgres app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 59d
|
||||
gitea gitea-allow-prometheus-metrics app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 39d
|
||||
gitea gitea-allow-public-git-https app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 59d
|
||||
gitea gitea-allow-traefik-http app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 59d
|
||||
gitea gitea-default-deny app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea 59d
|
||||
keycloak keycloak-network-policy app=keycloak,app.kubernetes.io/instance=keycloak,app.kubernetes.io/managed-by=keycloak-operator 59d
|
||||
kube-system traefik-preserve-ingress-and-allow-prometheus-metrics app.kubernetes.io/instance=traefik-kube-system,app.kubernetes.io/name=traefik 40d
|
||||
object-storage object-storage-allow-aistor-operator aistor.min.io/objectStore=minio-aistor 58d
|
||||
object-storage object-storage-allow-blackbox-console-health aistor.min.io/objectStore=minio-aistor 39d
|
||||
object-storage object-storage-allow-dns <none> 58d
|
||||
object-storage object-storage-allow-host-nginx-keycloak aistor.min.io/objectStore=minio-aistor 58d
|
||||
object-storage object-storage-allow-internal-clients aistor.min.io/objectStore=minio-aistor 58d
|
||||
object-storage object-storage-allow-kubernetes-api <none> 58d
|
||||
object-storage object-storage-allow-labeled-clients platform.hyeonworks.com/aistor-client=true 58d
|
||||
object-storage object-storage-allow-observability-s3 aistor.min.io/objectStore=minio-aistor 40d
|
||||
object-storage object-storage-allow-prometheus-metrics aistor.min.io/objectStore=minio-aistor 39d
|
||||
object-storage object-storage-allow-traefik-console aistor.min.io/objectStore=minio-aistor 58d
|
||||
object-storage object-storage-default-deny <none> 58d
|
||||
observability-agent observability-agent-allow-alloy-api app.kubernetes.io/name=alloy 40d
|
||||
observability-agent observability-agent-allow-alloy-backends app.kubernetes.io/name=alloy 40d
|
||||
observability-agent observability-agent-allow-alloy-dns app.kubernetes.io/name=alloy 40d
|
||||
observability-agent observability-agent-allow-prometheus-to-alloy app.kubernetes.io/name=alloy 40d
|
||||
observability-agent observability-agent-allow-prometheus-to-node-exporter app.kubernetes.io/name=prometheus-node-exporter 40d
|
||||
observability-agent observability-agent-default-deny <none> 40d
|
||||
observability observability-allow-aistor-egress app.kubernetes.io/name in (loki,tempo),platform.hyeonworks.com/aistor-client=true 40d
|
||||
observability observability-allow-alertmanager app.kubernetes.io/name=alertmanager 40d
|
||||
observability observability-allow-alertmanager-public-https app.kubernetes.io/instance=observability-core-kube-pr-alertmanager,app.kubernetes.io/name=alertmanager 36d
|
||||
observability observability-allow-blackbox-egress app.kubernetes.io/instance=blackbox-exporter,app.kubernetes.io/name=prometheus-blackbox-exporter 39d
|
||||
observability observability-allow-dns <none> 40d
|
||||
observability observability-allow-grafana-dashboard-api app.kubernetes.io/instance=grafana,app.kubernetes.io/name=grafana 40d
|
||||
observability observability-allow-grafana-datasources app.kubernetes.io/instance=grafana,app.kubernetes.io/name=grafana 40d
|
||||
observability observability-allow-grafana-ingress app.kubernetes.io/instance=grafana,app.kubernetes.io/name=grafana 40d
|
||||
observability observability-allow-kubernetes-api app.kubernetes.io/name in (kube-prometheus-stack-prometheus-operator,kube-state-metrics,prometheus) 40d
|
||||
observability observability-allow-loki app.kubernetes.io/name=loki 40d
|
||||
observability observability-allow-prometheus-egress app.kubernetes.io/name=prometheus 40d
|
||||
observability observability-allow-prometheus-platform-targets app.kubernetes.io/instance=observability-core-kube-pr-prometheus,app.kubernetes.io/name=prometheus 40d
|
||||
observability observability-allow-prometheus-self app.kubernetes.io/name=prometheus 40d
|
||||
observability observability-allow-prometheus-to-blackbox app.kubernetes.io/instance=blackbox-exporter,app.kubernetes.io/name=prometheus-blackbox-exporter 39d
|
||||
observability observability-allow-prometheus-to-ksm app.kubernetes.io/name=kube-state-metrics 40d
|
||||
observability observability-allow-prometheus-to-operator app.kubernetes.io/name=kube-prometheus-stack-prometheus-operator 40d
|
||||
observability observability-allow-tempo app.kubernetes.io/name=tempo 40d
|
||||
observability observability-default-deny <none> 40d
|
||||
platform-admin pgadmin-allow-blackbox-health app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4 39d
|
||||
platform-admin pgadmin-allow-dns app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4 58d
|
||||
platform-admin pgadmin-allow-keycloak app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4 58d
|
||||
platform-admin pgadmin-allow-platform-postgres app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4 58d
|
||||
platform-admin pgadmin-allow-traefik app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4 58d
|
||||
platform-admin pgadmin-default-deny app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4 58d
|
||||
platform-data platform-postgres-allow-pgadmin cnpg.io/cluster=platform-postgres 58d
|
||||
platform-data platform-postgres-ingress cnpg.io/cluster=platform-postgres 59d
|
||||
platform-data platform-postgres-keycloak-ingress cnpg.io/cluster=platform-postgres 59d
|
||||
|
||||
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE VOLUMEMODE
|
||||
aistor-data-local-pv 900Gi RWO Retain Bound object-storage/data0-minio-aistor-pool-0-0 aistor-local-xfs-retain <unset> 58d Filesystem
|
||||
gitea-local-pv 50Gi RWO Retain Bound gitea/gitea-data ssd-local-gitea-retain <unset> 59d Filesystem
|
||||
observability-alertmanager-local-pv 1Gi RWO Retain Bound observability/alertmanager-observability-core-kube-pr-alertmanager-db-alertmanager-observability-core-kube-pr-alertmanager-0 ssd-local-observability-alertmanager-retain <unset> 40d Filesystem
|
||||
observability-alloy-local-pv 2Gi RWO Retain Bound observability-agent/alloy-storage ssd-local-observability-alloy-retain <unset> 40d Filesystem
|
||||
observability-grafana-local-pv 2Gi RWO Retain Bound observability/grafana ssd-local-observability-grafana-retain <unset> 40d Filesystem
|
||||
observability-loki-local-pv 5Gi RWO Retain Bound observability/storage-loki-0 ssd-local-observability-loki-retain <unset> 40d Filesystem
|
||||
observability-prometheus-local-pv 20Gi RWO Retain Bound observability/prometheus-observability-core-kube-pr-prometheus-db-prometheus-observability-core-kube-pr-prometheus-0 ssd-local-observability-prometheus-retain <unset> 40d Filesystem
|
||||
observability-tempo-local-pv 5Gi RWO Retain Bound observability/storage-tempo-0 ssd-local-observability-tempo-retain <unset> 40d Filesystem
|
||||
pgadmin-data-local-pv 2Gi RWO Retain Bound platform-admin/pgadmin ssd-local-pgadmin-retain <unset> 58d Filesystem
|
||||
platform-postgres-local-pv 20Gi RWO Retain Bound platform-data/platform-postgres-1 ssd-local-postgres-retain <unset> 59d Filesystem
|
||||
|
||||
NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE
|
||||
gitea gitea-data Bound gitea-local-pv 50Gi RWO ssd-local-gitea-retain <unset> 59d
|
||||
object-storage data0-minio-aistor-pool-0-0 Bound aistor-data-local-pv 900Gi RWO aistor-local-xfs-retain <unset> 58d
|
||||
observability-agent alloy-storage Bound observability-alloy-local-pv 2Gi RWO ssd-local-observability-alloy-retain <unset> 40d
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-db-alertmanager-observability-core-kube-pr-alertmanager-0 Bound observability-alertmanager-local-pv 1Gi RWO ssd-local-observability-alertmanager-retain <unset> 40d
|
||||
observability grafana Bound observability-grafana-local-pv 2Gi RWO ssd-local-observability-grafana-retain <unset> 40d
|
||||
observability prometheus-observability-core-kube-pr-prometheus-db-prometheus-observability-core-kube-pr-prometheus-0 Bound observability-prometheus-local-pv 20Gi RWO ssd-local-observability-prometheus-retain <unset> 40d
|
||||
observability storage-loki-0 Bound observability-loki-local-pv 5Gi RWO ssd-local-observability-loki-retain <unset> 40d
|
||||
observability storage-tempo-0 Bound observability-tempo-local-pv 5Gi RWO ssd-local-observability-tempo-retain <unset> 40d
|
||||
platform-admin pgadmin Bound pgadmin-data-local-pv 2Gi RWO ssd-local-pgadmin-retain <unset> 58d
|
||||
platform-data platform-postgres-1 Bound platform-postgres-local-pv 20Gi RWO ssd-local-postgres-retain <unset> 59d
|
||||
|
||||
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
|
||||
aistor-local-xfs-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 58d
|
||||
local-path (default) rancher.io/local-path Delete WaitForFirstConsumer false 63d
|
||||
ssd-local-gitea-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 59d
|
||||
ssd-local-observability-alertmanager-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 40d
|
||||
ssd-local-observability-alloy-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 40d
|
||||
ssd-local-observability-grafana-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 40d
|
||||
ssd-local-observability-loki-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 40d
|
||||
ssd-local-observability-prometheus-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 40d
|
||||
ssd-local-observability-tempo-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 40d
|
||||
ssd-local-pgadmin-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 58d
|
||||
ssd-local-postgres-retain kubernetes.io/no-provisioner Retain WaitForFirstConsumer false 59d
|
||||
@@ -0,0 +1,45 @@
|
||||
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
|
||||
donghyeon-system-product-name Ready control-plane 63d v1.36.2+k3s1 192.168.0.107 <none> Ubuntu 24.04.4 LTS 7.0.0-30-generic (amd64) containerd://2.3.2-k3s2
|
||||
|
||||
NAME STATUS AGE
|
||||
aistor Active 58d
|
||||
cnpg-system Active 59d
|
||||
default Active 63d
|
||||
gitea Active 59d
|
||||
keycloak Active 59d
|
||||
kube-node-lease Active 63d
|
||||
kube-public Active 63d
|
||||
kube-system Active 63d
|
||||
object-storage Active 58d
|
||||
observability Active 40d
|
||||
observability-agent Active 40d
|
||||
platform-admin Active 58d
|
||||
platform-data Active 59d
|
||||
|
||||
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
|
||||
aistor adminjob-operator-cb94bdd9b-7nxn8 1/1 Running 3 (24d ago) 58d 10.42.0.148 donghyeon-system-product-name <none> <none>
|
||||
aistor object-store-operator-5d8fb544dd-6jlhn 1/1 Running 3 (24d ago) 58d 10.42.0.151 donghyeon-system-product-name <none> <none>
|
||||
aistor object-store-webhook-5d79486bd7-c5c2k 1/1 Running 4 (24d ago) 58d 10.42.0.149 donghyeon-system-product-name <none> <none>
|
||||
cnpg-system cloudnative-pg-5c9697964c-9nsdv 1/1 Running 4 (24d ago) 59d 10.42.0.136 donghyeon-system-product-name <none> <none>
|
||||
gitea gitea-77f645475b-bcpzp 1/1 Running 1 (24d ago) 39d 10.42.0.154 donghyeon-system-product-name <none> <none>
|
||||
keycloak keycloak-0 1/1 Running 1 (24d ago) 39d 10.42.0.147 donghyeon-system-product-name <none> <none>
|
||||
keycloak keycloak-operator-8646b97f8b-nnzvv 1/1 Running 1 (24d ago) 59d 10.42.0.150 donghyeon-system-product-name <none> <none>
|
||||
kube-system coredns-7f494b6f8-c5g9b 1/1 Running 1 (24d ago) 40d 10.42.0.134 donghyeon-system-product-name <none> <none>
|
||||
kube-system helm-install-traefik-2vr72 0/1 Completed 0 40d <none> donghyeon-system-product-name <none> <none>
|
||||
kube-system helm-install-traefik-crd-mgc8r 0/1 Completed 0 63d <none> donghyeon-system-product-name <none> <none>
|
||||
kube-system local-path-provisioner-58d557dc48-9nhfs 1/1 Running 1 (24d ago) 63d 10.42.0.141 donghyeon-system-product-name <none> <none>
|
||||
kube-system metrics-server-7c86f97b8d-7g89d 1/1 Running 1 (24d ago) 63d 10.42.0.137 donghyeon-system-product-name <none> <none>
|
||||
kube-system traefik-796b745d5c-lfl44 1/1 Running 1 (24d ago) 59d 10.42.0.140 donghyeon-system-product-name <none> <none>
|
||||
object-storage minio-aistor-pool-0-0 2/2 Running 2 (24d ago) 58d 10.42.0.152 donghyeon-system-product-name <none> <none>
|
||||
observability-agent alloy-69nq2 1/1 Running 1 (24d ago) 40d 10.42.0.135 donghyeon-system-product-name <none> <none>
|
||||
observability-agent node-exporter-xfwqx 1/1 Running 1 (24d ago) 40d 10.42.0.139 donghyeon-system-product-name <none> <none>
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-0 2/2 Running 2 (24d ago) 40d 10.42.0.138 donghyeon-system-product-name <none> <none>
|
||||
observability blackbox-exporter-6d8444ffdb-svsck 1/1 Running 1 (24d ago) 39d 10.42.0.144 donghyeon-system-product-name <none> <none>
|
||||
observability grafana-6bbf699897-9gwzz 2/2 Running 2 (24d ago) 40d 10.42.0.153 donghyeon-system-product-name <none> <none>
|
||||
observability loki-0 1/1 Running 2 (24d ago) 40d 10.42.0.132 donghyeon-system-product-name <none> <none>
|
||||
observability observability-core-kube-pr-operator-64c6bdc776-w9hzn 1/1 Running 1 (24d ago) 40d 10.42.0.133 donghyeon-system-product-name <none> <none>
|
||||
observability observability-core-kube-state-metrics-7cccbc4764-gdblp 1/1 Running 1 (24d ago) 40d 10.42.0.146 donghyeon-system-product-name <none> <none>
|
||||
observability prometheus-observability-core-kube-pr-prometheus-0 2/2 Running 2 (24d ago) 40d 10.42.0.142 donghyeon-system-product-name <none> <none>
|
||||
observability tempo-0 1/1 Running 3 (24d ago) 40d 10.42.0.131 donghyeon-system-product-name <none> <none>
|
||||
platform-admin pgadmin-b7c5b4df8-gqmhf 1/1 Running 1 (24d ago) 58d 10.42.0.145 donghyeon-system-product-name <none> <none>
|
||||
platform-data platform-postgres-1 1/1 Running 1 (24d ago) 59d 10.42.0.143 donghyeon-system-product-name <none> <none>
|
||||
@@ -0,0 +1,44 @@
|
||||
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
|
||||
aistor object-store-operator ClusterIP 10.43.82.42 <none> 4221/TCP 58d aistor.min.io/name=object-store-operator,operator=leader
|
||||
aistor object-store-webhook ClusterIP 10.43.104.158 <none> 8443/TCP 58d aistor.min.io/name=object-store-webhook
|
||||
cnpg-system cnpg-webhook-service ClusterIP 10.43.128.11 <none> 443/TCP 59d app.kubernetes.io/instance=cloudnative-pg,app.kubernetes.io/name=cloudnative-pg
|
||||
default kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 63d <none>
|
||||
gitea gitea-http ClusterIP 10.43.169.39 <none> 3000/TCP 59d app.kubernetes.io/instance=gitea,app.kubernetes.io/name=gitea
|
||||
keycloak keycloak-discovery ClusterIP None <none> 7800/TCP 59d app.kubernetes.io/instance=keycloak,app.kubernetes.io/managed-by=keycloak-operator,app=keycloak
|
||||
keycloak keycloak-operator ClusterIP 10.43.255.55 <none> 80/TCP 59d app.kubernetes.io/name=keycloak-operator
|
||||
keycloak keycloak-service ClusterIP 10.43.154.96 <none> 8080/TCP,9000/TCP 59d app.kubernetes.io/instance=keycloak,app.kubernetes.io/managed-by=keycloak-operator,app=keycloak
|
||||
kube-system kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 63d k8s-app=kube-dns
|
||||
kube-system metrics-server ClusterIP 10.43.176.152 <none> 443/TCP 63d k8s-app=metrics-server
|
||||
kube-system observability-core-kube-pr-coredns ClusterIP None <none> 9153/TCP 40d k8s-app=kube-dns
|
||||
kube-system observability-core-kube-pr-kubelet ClusterIP None <none> 10250/TCP,4194/TCP,10255/TCP 40d <none>
|
||||
kube-system traefik NodePort 10.43.108.47 <none> 80:30080/TCP,443:30443/TCP 59d app.kubernetes.io/instance=traefik-kube-system,app.kubernetes.io/name=traefik
|
||||
kube-system traefik-metrics ClusterIP 10.43.100.135 <none> 9100/TCP 40d app.kubernetes.io/instance=traefik-kube-system,app.kubernetes.io/name=traefik
|
||||
object-storage minio ClusterIP 10.43.124.248 <none> 80/TCP 58d aistor.min.io/objectStore=minio-aistor
|
||||
object-storage minio-aistor-console ClusterIP 10.43.53.168 <none> 9090/TCP 58d aistor.min.io/objectStore=minio-aistor
|
||||
object-storage minio-aistor-hl ClusterIP None <none> 9000/TCP,4444/TCP 58d aistor.min.io/objectStore=minio-aistor
|
||||
observability-agent alloy ClusterIP 10.43.113.115 <none> 12345/TCP,4317/TCP 40d app.kubernetes.io/instance=alloy,app.kubernetes.io/name=alloy
|
||||
observability-agent node-exporter ClusterIP 10.43.81.81 <none> 9100/TCP 40d app.kubernetes.io/instance=node-exporter,app.kubernetes.io/name=prometheus-node-exporter
|
||||
observability alertmanager-operated ClusterIP None <none> 9093/TCP,9094/TCP,9094/UDP 40d app.kubernetes.io/name=alertmanager
|
||||
observability blackbox-exporter ClusterIP 10.43.118.152 <none> 9115/TCP 39d app.kubernetes.io/instance=blackbox-exporter,app.kubernetes.io/name=prometheus-blackbox-exporter
|
||||
observability grafana ClusterIP 10.43.16.2 <none> 80/TCP 40d app.kubernetes.io/instance=grafana,app.kubernetes.io/name=grafana
|
||||
observability loki ClusterIP 10.43.184.23 <none> 3100/TCP,9095/TCP,9096/TCP 40d app.kubernetes.io/component=single-binary,app.kubernetes.io/instance=loki,app.kubernetes.io/name=loki
|
||||
observability loki-headless ClusterIP None <none> 3100/TCP,9095/TCP,9096/TCP 40d app.kubernetes.io/component=single-binary,app.kubernetes.io/instance=loki,app.kubernetes.io/name=loki
|
||||
observability loki-memberlist ClusterIP None <none> 7946/TCP 40d app.kubernetes.io/instance=loki,app.kubernetes.io/name=loki,app.kubernetes.io/part-of=memberlist
|
||||
observability observability-core-kube-pr-alertmanager ClusterIP 10.43.84.100 <none> 9093/TCP,8080/TCP 40d alertmanager=observability-core-kube-pr-alertmanager,app.kubernetes.io/name=alertmanager
|
||||
observability observability-core-kube-pr-operator ClusterIP 10.43.6.245 <none> 8080/TCP 40d app=kube-prometheus-stack-operator,release=observability-core
|
||||
observability observability-core-kube-pr-prometheus ClusterIP 10.43.99.213 <none> 9090/TCP,8080/TCP 40d app.kubernetes.io/name=prometheus,operator.prometheus.io/name=observability-core-kube-pr-prometheus
|
||||
observability observability-core-kube-state-metrics ClusterIP 10.43.55.239 <none> 8080/TCP 40d app.kubernetes.io/instance=observability-core,app.kubernetes.io/name=kube-state-metrics
|
||||
observability prometheus-operated ClusterIP None <none> 9090/TCP 40d app.kubernetes.io/name=prometheus
|
||||
observability tempo ClusterIP 10.43.242.65 <none> 3200/TCP,4317/TCP 40d app.kubernetes.io/instance=tempo,app.kubernetes.io/name=tempo
|
||||
platform-admin pgadmin ClusterIP 10.43.99.34 <none> 80/TCP 58d app.kubernetes.io/component=database-admin,app.kubernetes.io/instance=pgadmin,app.kubernetes.io/name=pgadmin4,app.kubernetes.io/part-of=platform,app=pgadmin4
|
||||
platform-data platform-postgres-rw ClusterIP 10.43.179.85 <none> 5432/TCP 59d cnpg.io/cluster=platform-postgres,cnpg.io/instanceRole=primary
|
||||
|
||||
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
|
||||
gitea gitea-http traefik git.learn.hyeonworks.com 80 59d
|
||||
keycloak keycloak-http traefik id.learn.hyeonworks.com 80 59d
|
||||
object-storage minio-aistor-console traefik storage-admin.learn.hyeonworks.com 80 58d
|
||||
observability grafana traefik grafana.learn.hyeonworks.com 80 40d
|
||||
platform-admin pgadmin traefik db-admin.learn.hyeonworks.com 80 58d
|
||||
|
||||
NAME CONTROLLER PARAMETERS AGE
|
||||
traefik (default) traefik.io/ingress-controller <none> 59d
|
||||
@@ -0,0 +1,84 @@
|
||||
### df
|
||||
Filesystem Type Size Used Avail Use% Mounted on
|
||||
/dev/sdc1 ext4 228G 138G 78G 64% /
|
||||
/dev/sdb3 xfs 932G 19G 913G 3% /srv/k3s/aistor
|
||||
/dev/sdb2 ntfs3 932G 24G 909G 3% /mnt/hdd-archive
|
||||
|
||||
### 파드 안에서 잰 PVC 실사용량 (du -sh)
|
||||
174.7M /data
|
||||
614M /var/lib/postgresql/data
|
||||
228.0K /var/lib/pgadmin
|
||||
1.7M /var/lib/grafana
|
||||
36K /var/lib/alloy
|
||||
4.0K /alertmanager
|
||||
(loki · tempo · prometheus 는 distroless 라 du 도 ls 도 없다 — 자체 metric 으로 대신한다)
|
||||
|
||||
### distroless 세 편의 자체 metric (bytes)
|
||||
-- prometheus_tsdb_storage_blocks_bytes
|
||||
observability-core-kube-pr-prometheus prometheus-observability-core-kube-pr-prometheus-0 4657964807
|
||||
-- prometheus_tsdb_wal_storage_size_bytes
|
||||
observability-core-kube-pr-prometheus prometheus-observability-core-kube-pr-prometheus-0 291393543
|
||||
observability/loki loki-0 10342630
|
||||
-- prometheus_tsdb_head_chunks_storage_size_bytes
|
||||
observability-core-kube-pr-prometheus prometheus-observability-core-kube-pr-prometheus-0 39312192
|
||||
-- loki_ingester_wal_disk_usage_percent
|
||||
observability/loki loki-0 0.6056778066826392
|
||||
-- kubelet_volume_stats_used_bytes / capacity (local PV 는 파일시스템 전체를 되풀이한다)
|
||||
[kubelet_volume_stats_used_bytes]
|
||||
data0-minio-aistor-pool-0-0 20094828544
|
||||
alertmanager-observability-core-kube-pr-alertmanager-db-alertmanager-o 147697172480
|
||||
grafana 147712954368
|
||||
prometheus-observability-core-kube-pr-prometheus-db-prometheus-observa 147702067200
|
||||
storage-loki-0 147707043840
|
||||
storage-tempo-0 147715518464
|
||||
alloy-storage 147709792256
|
||||
platform-postgres-1 147714691072
|
||||
gitea-data 147697627136
|
||||
pgadmin 147715776512
|
||||
[kubelet_volume_stats_capacity_bytes]
|
||||
data0-minio-aistor-pool-0-0 999892553728
|
||||
alertmanager-observability-core-kube-pr-alertmanager-db-alertmanager-o 243885932544
|
||||
grafana 243885932544
|
||||
prometheus-observability-core-kube-pr-prometheus-db-prometheus-observa 243885932544
|
||||
storage-loki-0 243885932544
|
||||
storage-tempo-0 243885932544
|
||||
alloy-storage 243885932544
|
||||
platform-postgres-1 243885932544
|
||||
gitea-data 243885932544
|
||||
pgadmin 243885932544
|
||||
|
||||
### 루트 파일시스템 최상위 (node-exporter, du -shx, uid 65534 read-only)
|
||||
/var 11.7G /host/root/var
|
||||
/usr 9.3G /host/root/usr
|
||||
/snap 140.0K /host/root/snap
|
||||
/opt 758.6M /host/root/opt
|
||||
/srv 20.0K /host/root/srv
|
||||
/boot 396.1M /host/root/boot
|
||||
/etc 13.1M /host/root/etc
|
||||
/tmp 7.1M /host/root/tmp
|
||||
/home 8.0K /host/root/home
|
||||
/mnt 16.0K /host/root/mnt
|
||||
|
||||
### 사용자 홈 (본인 권한)
|
||||
du: cannot read directory '/home/donghyeon/.secrets/certbot': Permission denied
|
||||
61G /home/donghyeon
|
||||
2.5M /home/donghyeon/backup
|
||||
4.9M /home/donghyeon/tl-backup-20260903
|
||||
619M /home/donghyeon/snap
|
||||
1.2G /home/donghyeon/Documents
|
||||
4.4G /home/donghyeon/workspace
|
||||
24G /home/donghyeon/hdd-migration-backup-20260722
|
||||
|
||||
### /var 안쪽 (읽히는 것만)
|
||||
/var/lib 10.0G /host/root/var/lib
|
||||
/var/log 1.4G /host/root/var/log
|
||||
/var/cache 156.7M /host/root/var/cache
|
||||
5.7G /host/root/var/lib/snapd
|
||||
251.4M /host/root/var/lib/rancher
|
||||
210.5M /host/root/var/lib/apt
|
||||
|
||||
### 읽지 못한 디렉터리 (여기에 미귀속분이 있다)
|
||||
du: can't open '/host/root/var/lib/docker': Permission denied
|
||||
du: can't open '/host/root/var/lib/containerd': Permission denied
|
||||
du: can't open '/host/root/root': Permission denied
|
||||
EXIT=0
|
||||
@@ -0,0 +1,5 @@
|
||||
public gitea /api/healthz: 200
|
||||
keycloak discovery issuer: https://id.learn.hyeonworks.com/realms/hyeonworks
|
||||
private grafana /api/health: 200
|
||||
NodePort via LAN IP 192.168.0.107:30080: 000
|
||||
NodePort via loopback 127.0.0.1:30080: 404
|
||||
@@ -0,0 +1,35 @@
|
||||
=== git.learn.hyeonworks.com ===
|
||||
subject=CN = git.learn.hyeonworks.com
|
||||
issuer=C = US, O = Let's Encrypt, CN = YE2
|
||||
notBefore=Sep 16 10:55:26 2026 GMT
|
||||
notAfter=Dec 15 10:55:25 2026 GMT
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:git.learn.hyeonworks.com, DNS:id.learn.hyeonworks.com
|
||||
=== id.learn.hyeonworks.com ===
|
||||
subject=CN = git.learn.hyeonworks.com
|
||||
issuer=C = US, O = Let's Encrypt, CN = YE2
|
||||
notBefore=Sep 16 10:55:26 2026 GMT
|
||||
notAfter=Dec 15 10:55:25 2026 GMT
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:git.learn.hyeonworks.com, DNS:id.learn.hyeonworks.com
|
||||
=== storage-admin.learn.hyeonworks.com ===
|
||||
subject=CN = storage-admin.learn.hyeonworks.com
|
||||
issuer=C = US, O = Let's Encrypt, CN = YE2
|
||||
notBefore=Jul 23 14:55:47 2026 GMT
|
||||
notAfter=Oct 21 14:55:46 2026 GMT
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:db-admin.learn.hyeonworks.com, DNS:storage-admin.learn.hyeonworks.com
|
||||
=== db-admin.learn.hyeonworks.com ===
|
||||
subject=CN = storage-admin.learn.hyeonworks.com
|
||||
issuer=C = US, O = Let's Encrypt, CN = YE2
|
||||
notBefore=Jul 23 14:55:47 2026 GMT
|
||||
notAfter=Oct 21 14:55:46 2026 GMT
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:db-admin.learn.hyeonworks.com, DNS:storage-admin.learn.hyeonworks.com
|
||||
=== grafana.learn.hyeonworks.com ===
|
||||
subject=CN = grafana.learn.hyeonworks.com
|
||||
issuer=C = US, O = Let's Encrypt, CN = YE1
|
||||
notBefore=Aug 10 15:08:27 2026 GMT
|
||||
notAfter=Nov 8 15:08:26 2026 GMT
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:grafana.learn.hyeonworks.com
|
||||
@@ -0,0 +1,47 @@
|
||||
=== git remote ===
|
||||
origin https://git.learn.hyeonworks.com/donghyeon.kang/platform-core (fetch)
|
||||
origin https://git.learn.hyeonworks.com/donghyeon.kang/platform-core (push)
|
||||
=== branch -vv ===
|
||||
* main 16c337b [origin/main] Add platform infrastructure configuration
|
||||
=== ls-remote ===
|
||||
16c337bcc91b27ac0f074154b8337e4c8dc17ebb HEAD
|
||||
16c337bcc91b27ac0f074154b8337e4c8dc17ebb refs/heads/main
|
||||
=== CI 디렉터리 ===
|
||||
ls: cannot access '.github': No such file or directory
|
||||
ls: cannot access '.gitea': No such file or directory
|
||||
ls: cannot access '.gitlab-ci.yml': No such file or directory
|
||||
=== .helm 추적 파일 수 ===
|
||||
0
|
||||
=== 추적 파일 수 ===
|
||||
302
|
||||
=== local-recovery.env 추적 여부 ===
|
||||
error: pathspec 'infrastructure/security/k3s/local-recovery.env' did not match any file(s) known to git
|
||||
Did you forget to 'git add'?
|
||||
=== Gitea 저장소 목록 (익명 API) ===
|
||||
count: 22
|
||||
donghyeon.kang/clean-architecture-backend-template public 2026-09-18T06:22:38Z
|
||||
donghyeon.kang/clean-architecture-frontend-template public 2026-09-20T04:47:36Z
|
||||
donghyeon.kang/cokaremote public 2026-09-17T06:34:11Z
|
||||
donghyeon.kang/company-haness public 2026-07-29T09:04:09Z
|
||||
donghyeon.kang/course-registration public 2026-09-18T06:21:03Z
|
||||
donghyeon.kang/cover-letter-haness public 2026-07-29T09:01:55Z
|
||||
donghyeon.kang/document-haness public 2026-09-17T11:59:20Z
|
||||
donghyeon.kang/k8s-template public 2026-07-26T08:19:19Z
|
||||
donghyeon.kang/keycloak-pattern public 2026-09-10T06:55:59Z
|
||||
donghyeon.kang/liner-n-problem public 2026-07-24T05:24:05Z
|
||||
donghyeon.kang/llm-wiki public 2026-07-29T09:07:39Z
|
||||
donghyeon.kang/memento-backend public 2026-09-16T08:19:14Z
|
||||
donghyeon.kang/memento-frontend public 2026-09-20T04:54:16Z
|
||||
donghyeon.kang/platform-core public 2026-08-28T08:35:44Z
|
||||
donghyeon.kang/project-auth-server public 2026-07-24T05:30:29Z
|
||||
donghyeon.kang/project-gitops public 2026-08-28T08:24:32Z
|
||||
donghyeon.kang/project-infra public 2026-08-28T08:04:32Z
|
||||
donghyeon.kang/readme-haness public 2026-07-29T09:08:30Z
|
||||
donghyeon.kang/resume-haness public 2026-07-29T09:02:52Z
|
||||
donghyeon.kang/tech-log-backend public 2026-08-28T08:02:23Z
|
||||
donghyeon.kang/tech-log-frontend public 2026-08-28T08:02:08Z
|
||||
donghyeon.kang/technical-visualization-haness public 2026-07-29T09:03:44Z
|
||||
=== 익명 raw 파일 접근 ===
|
||||
platform-core/README.md -> 200
|
||||
=== alert runbook_url 응답 ===
|
||||
project-infra runbook -> 200
|
||||
@@ -0,0 +1,214 @@
|
||||
# Phase 3 candidate for /etc/nginx/sites-available/learn-services.
|
||||
# Host Nginx terminates TLS. Traefik receives HTTP only on loopback NodePort.
|
||||
|
||||
map $http_upgrade $hyeonworks_connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl default_server;
|
||||
listen [::]:443 ssl default_server ipv6only=on;
|
||||
ssl_reject_handshake on;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name git.learn.hyeonworks.com;
|
||||
|
||||
location = /metrics {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:30080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host git.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Host git.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $hyeonworks_connection_upgrade;
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
proxy_redirect off;
|
||||
client_max_body_size 512m;
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/git.learn.hyeonworks.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/git.learn.hyeonworks.com/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name id.learn.hyeonworks.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:30080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host id.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Host id.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
proxy_redirect off;
|
||||
client_max_body_size 10m;
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/git.learn.hyeonworks.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/git.learn.hyeonworks.com/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name storage-admin.learn.hyeonworks.com;
|
||||
|
||||
location / {
|
||||
allow 192.168.0.0/24;
|
||||
allow 100.64.0.0/10;
|
||||
deny all;
|
||||
|
||||
proxy_pass http://127.0.0.1:30080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host storage-admin.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Host storage-admin.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $hyeonworks_connection_upgrade;
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
proxy_redirect off;
|
||||
client_max_body_size 5g;
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/storage-admin.learn.hyeonworks.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/storage-admin.learn.hyeonworks.com/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name db-admin.learn.hyeonworks.com;
|
||||
|
||||
location / {
|
||||
allow 192.168.0.0/24;
|
||||
allow 100.64.0.0/10;
|
||||
deny all;
|
||||
|
||||
proxy_pass http://127.0.0.1:30080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host db-admin.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Host db-admin.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
proxy_redirect off;
|
||||
client_max_body_size 100m;
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/storage-admin.learn.hyeonworks.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/storage-admin.learn.hyeonworks.com/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name git.learn.hyeonworks.com;
|
||||
return 301 https://git.learn.hyeonworks.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name id.learn.hyeonworks.com;
|
||||
return 301 https://id.learn.hyeonworks.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name storage-admin.learn.hyeonworks.com;
|
||||
return 301 https://storage-admin.learn.hyeonworks.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name db-admin.learn.hyeonworks.com;
|
||||
return 301 https://db-admin.learn.hyeonworks.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name grafana.learn.hyeonworks.com;
|
||||
|
||||
location = /metrics {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location / {
|
||||
allow 192.168.0.0/24;
|
||||
allow 100.64.0.0/10;
|
||||
deny all;
|
||||
|
||||
proxy_pass http://127.0.0.1:30080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host grafana.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Host grafana.learn.hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $hyeonworks_connection_upgrade;
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
proxy_redirect off;
|
||||
client_max_body_size 10m;
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/grafana.learn.hyeonworks.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/grafana.learn.hyeonworks.com/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name grafana.learn.hyeonworks.com;
|
||||
return 301 https://grafana.learn.hyeonworks.com$request_uri;
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
active
|
||||
active
|
||||
|
||||
# Hyeonworks LAN 전용 dnsmasq 인스턴스
|
||||
port=53
|
||||
listen-address=192.168.0.107
|
||||
bind-interfaces
|
||||
no-hosts
|
||||
no-resolv
|
||||
server=1.1.1.1
|
||||
server=1.0.0.1
|
||||
cache-size=1000
|
||||
domain-needed
|
||||
bogus-priv
|
||||
address=/git.learn.hyeonworks.com/192.168.0.107
|
||||
address=/id.learn.hyeonworks.com/192.168.0.107
|
||||
address=/storage-admin.learn.hyeonworks.com/192.168.0.107
|
||||
address=/db-admin.learn.hyeonworks.com/192.168.0.107
|
||||
address=/grafana.learn.hyeonworks.com/192.168.0.107
|
||||
|
||||
# Hyeonworks Tailscale 전용 dnsmasq 인스턴스
|
||||
port=53
|
||||
listen-address=100.92.240.34
|
||||
bind-interfaces
|
||||
no-hosts
|
||||
no-resolv
|
||||
server=1.1.1.1
|
||||
server=1.0.0.1
|
||||
cache-size=1000
|
||||
domain-needed
|
||||
bogus-priv
|
||||
address=/git.learn.hyeonworks.com/100.92.240.34
|
||||
address=/id.learn.hyeonworks.com/100.92.240.34
|
||||
address=/storage-admin.learn.hyeonworks.com/100.92.240.34
|
||||
address=/db-admin.learn.hyeonworks.com/100.92.240.34
|
||||
address=/grafana.learn.hyeonworks.com/100.92.240.34
|
||||
|
||||
100.92.240.34
|
||||
lo UNKNOWN 127.0.0.1/8
|
||||
enp3s0 UP 192.168.0.107/24
|
||||
tailscale0 UNKNOWN 100.92.240.34/32
|
||||
docker0 UP 172.17.0.1/16
|
||||
flannel.1 UNKNOWN 10.42.0.0/32
|
||||
cni0 UP 10.42.0.1/24
|
||||
br-8359faae6017 UP 172.18.0.1/16
|
||||
mpqemubr0 DOWN 10.135.97.1/24
|
||||
@@ -0,0 +1,62 @@
|
||||
kube-proxy-arg:
|
||||
- "nodeport-addresses=127.0.0.0/8"
|
||||
secrets-encryption: true
|
||||
secrets-encryption-provider: aescbc
|
||||
|
||||
TARGET SOURCE FSTYPE OPTIONS
|
||||
/srv/k3s/aistor /dev/sdb3 xfs rw,noatime,inode64,logbufs=8,logbsize=32k,noquota
|
||||
|
||||
Filesystem Type Size Used Avail Use% Mounted on
|
||||
/dev/sdc1 ext4 228G 136G 80G 63% /
|
||||
/dev/sdb3 xfs 932G 19G 913G 3% /srv/k3s/aistor
|
||||
/dev/sdb2 ntfs3 932G 24G 909G 3% /mnt/hdd-archive
|
||||
|
||||
NAME SIZE FSTYPE LABEL MOUNTPOINT
|
||||
loop0 24.5M squashfs /snap/certbot-dns-cloudflare/5538
|
||||
loop1 73.6M squashfs /snap/certbot/5781
|
||||
loop2 22.6M squashfs /snap/certbot-dns-cloudflare/5426
|
||||
loop3 4K squashfs /snap/bare/5
|
||||
loop4 105.2M squashfs /snap/core/17292
|
||||
loop5 55.5M squashfs /snap/core18/2999
|
||||
loop7 63.8M squashfs /snap/core20/2866
|
||||
loop8 260.8M squashfs /snap/firefox/8863
|
||||
loop9 74M squashfs /snap/core22/2437
|
||||
loop10 55.5M squashfs /snap/core18/3084
|
||||
loop11 66.8M squashfs /snap/core24/1643
|
||||
loop12 221.2M squashfs /snap/slack/260
|
||||
loop13 63.8M squashfs /snap/core20/2922
|
||||
loop14 16.4M squashfs /snap/firmware-updater/223
|
||||
loop15 16.5M squashfs /snap/firmware-updater/226
|
||||
loop16 531.4M squashfs /snap/gnome-42-2204/247
|
||||
loop17 606.1M squashfs /snap/gnome-46-2404/153
|
||||
loop18 531.5M squashfs /snap/gnome-42-2204/263
|
||||
loop19 614.5M squashfs /snap/gnome-46-2404/164
|
||||
loop20 91.7M squashfs /snap/gtk-common-themes/1535
|
||||
loop21 395M squashfs /snap/mesa-2404/1165
|
||||
loop22 402M squashfs /snap/mesa-2404/1839
|
||||
loop23 261.1M squashfs /snap/firefox/8803
|
||||
loop24 66.8M squashfs /snap/core24/2124
|
||||
loop25 174.4M squashfs /snap/postman/360
|
||||
loop26 50.3M squashfs /snap/snapd/27738
|
||||
loop27 225.9M squashfs /snap/slack/254
|
||||
loop28 15.7M squashfs /snap/snap-store/1367
|
||||
loop29 11.8M squashfs /snap/snap-store/1390
|
||||
loop30 79.6M squashfs /snap/multipass/18737
|
||||
loop31 50.1M squashfs /snap/snapd/27710
|
||||
loop32 828K squashfs /snap/snapd-desktop-integration/387
|
||||
loop33 828K squashfs /snap/snapd-desktop-integration/391
|
||||
loop34 79.6M squashfs /snap/multipass/18500
|
||||
loop35 71.7M squashfs /snap/certbot/5893
|
||||
loop36 74M squashfs /snap/core22/2955
|
||||
sda 931.5G
|
||||
├─sda1 128M
|
||||
├─sda2 100M vfat
|
||||
├─sda3 930.6G ntfs
|
||||
└─sda4 731M ntfs
|
||||
sdb 1.8T
|
||||
├─sdb1 16M
|
||||
├─sdb2 931.3G ntfs HDD_ARCHIVE /mnt/hdd-archive
|
||||
└─sdb3 931.7G xfs AISTOR_DATA /var/lib/kubelet/pods/e103d9b8-0db2-43d5-ab80-fb5c4df3ae16/volumes/kubernetes.io~local-volume/aistor-data-local-pv
|
||||
sdc 232.9G
|
||||
├─sdc1 231.8G ext4 /
|
||||
└─sdc2 1G vfat /boot/efi
|
||||
@@ -0,0 +1,39 @@
|
||||
Allocated resources:
|
||||
(Total limits may be over 100 percent, i.e., overcommitted.)
|
||||
Resource Requests Limits
|
||||
-------- -------- ------
|
||||
cpu 4800m (40%) 21200m (176%)
|
||||
memory 10450Mi (32%) 28652Mi (89%)
|
||||
ephemeral-storage 300Mi (0%) 3Gi (1%)
|
||||
hugepages-1Gi 0 (0%) 0 (0%)
|
||||
hugepages-2Mi 0 (0%) 0 (0%)
|
||||
Events: <none>
|
||||
|
||||
NAME CPU(cores) CPU(%) MEMORY(bytes) MEMORY(%)
|
||||
donghyeon-system-product-name 1997m 16% 9272Mi 28%
|
||||
|
||||
NAMESPACE NAME CPU(cores) MEMORY(bytes)
|
||||
keycloak keycloak-0 1m 588Mi
|
||||
observability prometheus-observability-core-kube-pr-prometheus-0 48m 557Mi
|
||||
gitea gitea-77f645475b-bcpzp 1799m 525Mi
|
||||
keycloak keycloak-operator-8646b97f8b-nnzvv 2m 315Mi
|
||||
platform-admin pgadmin-b7c5b4df8-gqmhf 1m 284Mi
|
||||
observability grafana-6bbf699897-9gwzz 4m 248Mi
|
||||
object-storage minio-aistor-pool-0-0 2m 237Mi
|
||||
observability loki-0 4m 152Mi
|
||||
platform-data platform-postgres-1 32m 112Mi
|
||||
observability-agent alloy-69nq2 13m 105Mi
|
||||
aistor object-store-operator-5d8fb544dd-6jlhn 2m 53Mi
|
||||
kube-system traefik-796b745d5c-lfl44 41m 49Mi
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-0 1m 41Mi
|
||||
cnpg-system cloudnative-pg-5c9697964c-9nsdv 2m 37Mi
|
||||
kube-system metrics-server-7c86f97b8d-7g89d 3m 33Mi
|
||||
observability tempo-0 2m 33Mi
|
||||
observability observability-core-kube-pr-operator-64c6bdc776-w9hzn 1m 29Mi
|
||||
kube-system coredns-7f494b6f8-c5g9b 2m 28Mi
|
||||
observability observability-core-kube-state-metrics-7cccbc4764-gdblp 1m 27Mi
|
||||
observability blackbox-exporter-6d8444ffdb-svsck 2m 27Mi
|
||||
aistor adminjob-operator-cb94bdd9b-7nxn8 1m 26Mi
|
||||
aistor object-store-webhook-5d79486bd7-c5c2k 1m 24Mi
|
||||
observability-agent node-exporter-xfwqx 1m 18Mi
|
||||
kube-system local-path-provisioner-58d557dc48-9nhfs 1m 16Mi
|
||||
@@ -0,0 +1,18 @@
|
||||
16c337bcc91b27ac0f074154b8337e4c8dc17ebb
|
||||
--- 영역별 (vendored chart 제외) ---
|
||||
bootstrap/ 7 files 1349 lines
|
||||
clusters/ 2 files 0 lines
|
||||
components/ 2 files 17 lines
|
||||
docs/ 4 files 2112 lines
|
||||
infrastructure/ 91 files 4426 lines
|
||||
services/ 118 files 7468 lines
|
||||
scripts/ 77 files 67631 lines
|
||||
--- scripts 세부 ---
|
||||
scripts/bootstrap/ 27 files 14132 lines
|
||||
scripts/validate/ 42 files 45889 lines
|
||||
scripts/lib/ 5 files 5325 lines
|
||||
scripts/libexec/ 3 files 2285 lines
|
||||
--- scripts/validate/test-* ---
|
||||
26 files 33937 lines
|
||||
--- vendored .helm ---
|
||||
713 files 155560 lines
|
||||
@@ -0,0 +1,5 @@
|
||||
activeTargets: 30
|
||||
up: 30
|
||||
groups: 36 alertRules: 155 recordingRules: 86
|
||||
firing: []
|
||||
unhealthy: []
|
||||
@@ -0,0 +1,26 @@
|
||||
aistor/adminjob-operator-cb94bdd9b-7nxn8 quay.io/minio/aistor/operator:RELEASE.2026-07-21T22-41-48Z
|
||||
aistor/object-store-operator-5d8fb544dd-6jlhn quay.io/minio/aistor/operator:RELEASE.2026-07-21T22-41-48Z
|
||||
aistor/object-store-webhook-5d79486bd7-c5c2k quay.io/minio/aistor/operator:RELEASE.2026-07-21T22-41-48Z
|
||||
cnpg-system/cloudnative-pg-5c9697964c-9nsdv ghcr.io/cloudnative-pg/cloudnative-pg:1.30.0
|
||||
gitea/gitea-77f645475b-bcpzp docker.gitea.com/gitea:1.27.0-rootless
|
||||
keycloak/keycloak-0 quay.io/keycloak/keycloak:26.7.0
|
||||
keycloak/keycloak-operator-8646b97f8b-nnzvv quay.io/keycloak/keycloak-operator:26.7.0
|
||||
kube-system/coredns-7f494b6f8-c5g9b rancher/mirrored-coredns-coredns:1.14.4
|
||||
kube-system/helm-install-traefik-2vr72 rancher/klipper-helm:v0.11.1-build20260615
|
||||
kube-system/helm-install-traefik-crd-mgc8r rancher/klipper-helm:v0.11.1-build20260615
|
||||
kube-system/local-path-provisioner-58d557dc48-9nhfs rancher/local-path-provisioner:v0.0.36
|
||||
kube-system/metrics-server-7c86f97b8d-7g89d rancher/mirrored-metrics-server:v0.8.1
|
||||
kube-system/traefik-796b745d5c-lfl44 rancher/mirrored-library-traefik:3.7.4
|
||||
object-storage/minio-aistor-pool-0-0 quay.io/minio/aistor/minio:RELEASE.2026-06-06T02-44-06Z quay.io/minio/aistor/minio-sidecar:RELEASE.2026-07-14T22-07-12Z
|
||||
observability-agent/alloy-69nq2 docker.io/grafana/alloy@sha256:eb21f4c0858edffcdd1b385910ddeef26f692fc2c282f61baa724fc09d274a17
|
||||
observability-agent/node-exporter-xfwqx quay.io/prometheus/node-exporter@sha256:da83fae85603c4e47e6c68369a7d746e2dda683dc35ea2e234b4f171e0d92798
|
||||
observability/alertmanager-observability-core-kube-pr-alertmanager-0 quay.io/prometheus/alertmanager:v0.33.1@sha256:a89f8d4520954079275441eecdb71444328bd90633dd4eddfc33b9ed657f349b quay.io/prometheus-operator/prometheus-config-reloader:v0.93.0@sha256:65b90f44d5535b106015ac60bafb57803f65dc928c187874de6cd7a9ec6c8905
|
||||
observability/blackbox-exporter-6d8444ffdb-svsck quay.io/prometheus/blackbox-exporter:v0.28.0@sha256:43027b43fb785b7c5adc53bd3b5dbc1a258270a2e8aff24f477b45c4e38dac68
|
||||
observability/grafana-6bbf699897-9gwzz quay.io/kiwigrid/k8s-sidecar:2.10.0@sha256:129877c81acf2bc8c3fa000e89a62e020eb89d41ceb94767c657aef5bb0cc0d3 docker.io/grafana/grafana:13.1.1@sha256:f33c692ba1a5ee15724cf6b22db65e9de39dde14d80f7d73a9546e3fc917270b
|
||||
observability/loki-0 docker.io/grafana/loki@sha256:d80be589cf74b6d92747a1b155bec6f07bdd65e261f797fe93a78fb4e833032e
|
||||
observability/observability-core-kube-pr-operator-64c6bdc776-w9hzn quay.io/prometheus-operator/prometheus-operator:v0.93.0@sha256:64eb7914e4705dbb64438e3b3193da1226ad2ea4db2924983693999888cda9b2
|
||||
observability/observability-core-kube-state-metrics-7cccbc4764-gdblp registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.19.1@sha256:7661da8c99b733d43117e4cba12bd9865d335e5777191d0af3d789807aded9f4
|
||||
observability/prometheus-observability-core-kube-pr-prometheus-0 quay.io/prometheus/prometheus:v3.13.2-distroless@sha256:ce95cfa77eff5aad28bd7a65aff19868cf78d9e17e4c254da7dfe22ade78318b quay.io/prometheus-operator/prometheus-config-reloader:v0.93.0@sha256:65b90f44d5535b106015ac60bafb57803f65dc928c187874de6cd7a9ec6c8905
|
||||
observability/tempo-0 docker.io/grafana/tempo@sha256:6616b00287a4d7001951b5de117828ad5c6f93744935c1b7a5e044736373352c
|
||||
platform-admin/pgadmin-b7c5b4df8-gqmhf docker.io/dpage/pgadmin4@sha256:66a300a7ecdcc1f325af0c430315329bca46cd4a7067227d6899802238167c6e
|
||||
platform-data/platform-postgres-1 ghcr.io/cloudnative-pg/postgresql:17.9-standard-trixie
|
||||
@@ -0,0 +1,5 @@
|
||||
raw/<id>.txt 를 만든 스크립트. 한 줄 명령으로 안 되는 증거만 여기 둔다.
|
||||
meta/<id>.json 의 command 가 이 경로를 가리킨다. 그대로 다시 돌리면 재현된다.
|
||||
|
||||
disk-probe.sh raw/disk-usage-attribution.txt — df · 파드 안 du · Prometheus/Loki 자체 metric
|
||||
· node-exporter 의 /host/root du -shx · 홈 du. 전부 읽기 전용이다
|
||||
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "### df"
|
||||
df -hT / /srv/k3s/aistor /mnt/hdd-archive
|
||||
echo
|
||||
echo "### 파드 안에서 잰 PVC 실사용량 (du -sh)"
|
||||
kubectl -n gitea exec gitea-77f645475b-bcpzp -c gitea -- du -sh /data
|
||||
kubectl -n platform-data exec platform-postgres-1 -c postgres -- du -sh /var/lib/postgresql/data
|
||||
kubectl -n platform-admin exec pgadmin-b7c5b4df8-gqmhf -c pgadmin4 -- du -sh /var/lib/pgadmin
|
||||
kubectl -n observability exec grafana-6bbf699897-9gwzz -c grafana -- du -sh /var/lib/grafana
|
||||
kubectl -n observability-agent exec alloy-69nq2 -c alloy -- du -sh /var/lib/alloy
|
||||
kubectl -n observability exec alertmanager-observability-core-kube-pr-alertmanager-0 -c alertmanager -- du -sh /alertmanager
|
||||
echo "(loki · tempo · prometheus 는 distroless 라 du 도 ls 도 없다 — 자체 metric 으로 대신한다)"
|
||||
echo
|
||||
echo "### distroless 세 편의 자체 metric (bytes)"
|
||||
kubectl -n observability port-forward svc/observability-core-kube-pr-prometheus 19090:9090 >/dev/null 2>&1 &
|
||||
PF=$!
|
||||
sleep 4
|
||||
for Q in prometheus_tsdb_storage_blocks_bytes prometheus_tsdb_wal_storage_size_bytes \
|
||||
prometheus_tsdb_head_chunks_storage_size_bytes loki_ingester_wal_disk_usage_percent; do
|
||||
echo "-- $Q"
|
||||
curl -s --get --data-urlencode "query=$Q" http://127.0.0.1:19090/api/v1/query \
|
||||
| python3 -c 'import sys,json
|
||||
for r in json.load(sys.stdin)["data"]["result"]:
|
||||
m=r["metric"]; print(" %-24s %-46s %s" % (m.get("job","?"), m.get("pod","?"), r["value"][1]))'
|
||||
done
|
||||
echo "-- kubelet_volume_stats_used_bytes / capacity (local PV 는 파일시스템 전체를 되풀이한다)"
|
||||
for Q in kubelet_volume_stats_used_bytes kubelet_volume_stats_capacity_bytes; do
|
||||
echo " [$Q]"
|
||||
curl -s --get --data-urlencode "query=$Q" http://127.0.0.1:19090/api/v1/query \
|
||||
| python3 -c 'import sys,json
|
||||
seen=set()
|
||||
for r in json.load(sys.stdin)["data"]["result"]:
|
||||
k=r["metric"].get("persistentvolumeclaim","?")
|
||||
if k in seen: continue
|
||||
seen.add(k); print(" %-70s %s" % (k[:70], r["value"][1]))'
|
||||
done
|
||||
kill $PF 2>/dev/null
|
||||
wait $PF 2>/dev/null
|
||||
echo
|
||||
echo "### 루트 파일시스템 최상위 (node-exporter, du -shx, uid 65534 read-only)"
|
||||
for d in var usr snap opt srv boot etc tmp home mnt; do
|
||||
printf "%-8s " "/$d"
|
||||
kubectl -n observability-agent exec node-exporter-xfwqx -- du -shx /host/root/$d 2>/dev/null | tail -1
|
||||
done
|
||||
echo
|
||||
echo "### 사용자 홈 (본인 권한)"
|
||||
du -shx /home/donghyeon
|
||||
du -shx /home/donghyeon/* 2>/dev/null | sort -h | tail -6
|
||||
echo
|
||||
echo "### /var 안쪽 (읽히는 것만)"
|
||||
for d in lib log cache; do printf "%-12s " "/var/$d"; kubectl -n observability-agent exec node-exporter-xfwqx -- du -shx /host/root/var/$d 2>/dev/null | tail -1; done
|
||||
kubectl -n observability-agent exec node-exporter-xfwqx -- du -shx /host/root/var/lib/snapd /host/root/var/lib/rancher /host/root/var/lib/apt 2>/dev/null | tail -3
|
||||
echo
|
||||
echo "### 읽지 못한 디렉터리 (여기에 미귀속분이 있다)"
|
||||
kubectl -n observability-agent exec node-exporter-xfwqx -- du -shx /host/root/var/lib/docker /host/root/var/lib/containerd /host/root/root 2>&1 | grep -i "permission denied"
|
||||
@@ -0,0 +1,42 @@
|
||||
aistor minio-license Opaque
|
||||
aistor object-store-operator-tls kubernetes.io/tls
|
||||
aistor object-store-webhook-tls kubernetes.io/tls
|
||||
cnpg-system cnpg-ca-secret Opaque
|
||||
cnpg-system cnpg-webhook-cert kubernetes.io/tls
|
||||
gitea gitea-admin kubernetes.io/basic-auth
|
||||
gitea gitea-db-credentials kubernetes.io/basic-auth
|
||||
gitea gitea-init Opaque
|
||||
gitea gitea-inline-config Opaque
|
||||
gitea gitea-keycloak-oidc Opaque
|
||||
gitea gitea Opaque
|
||||
keycloak keycloak-db-credentials kubernetes.io/basic-auth
|
||||
keycloak keycloak-initial-admin kubernetes.io/basic-auth
|
||||
kube-system chart-values-traefik-crd helmcharts.helm.cattle.io/values
|
||||
kube-system chart-values-traefik helmcharts.helm.cattle.io/values
|
||||
kube-system donghyeon-system-product-name.node-password.k3s k3s.cattle.io/node-password
|
||||
kube-system k3s-serving kubernetes.io/tls
|
||||
object-storage aistor-keycloak-oidc Opaque
|
||||
object-storage aistor-root-configuration Opaque
|
||||
object-storage minio-aistor-generated Opaque
|
||||
object-storage minio-license Opaque
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-cluster-tls-config Opaque
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-generated Opaque
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager Opaque
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-tls-assets-0 Opaque
|
||||
observability alertmanager-observability-core-kube-pr-alertmanager-web-config Opaque
|
||||
observability alertmanager-slack-webhook Opaque
|
||||
observability grafana-admin Opaque
|
||||
observability grafana-keycloak-oidc Opaque
|
||||
observability loki-object-storage Opaque
|
||||
observability prometheus-observability-core-kube-pr-prometheus Opaque
|
||||
observability prometheus-observability-core-kube-pr-prometheus-thanos-prometheus-http-client-file Opaque
|
||||
observability prometheus-observability-core-kube-pr-prometheus-tls-assets-0 Opaque
|
||||
observability prometheus-observability-core-kube-pr-prometheus-web-config Opaque
|
||||
observability tempo-object-storage Opaque
|
||||
platform-admin pgadmin-bootstrap Opaque
|
||||
platform-admin pgadmin-keycloak-oidc Opaque
|
||||
platform-data gitea-db-credentials kubernetes.io/basic-auth
|
||||
platform-data keycloak-db-credentials kubernetes.io/basic-auth
|
||||
platform-data platform-postgres-ca Opaque
|
||||
platform-data platform-postgres-replication kubernetes.io/tls
|
||||
platform-data platform-postgres-server kubernetes.io/tls
|
||||
@@ -0,0 +1,21 @@
|
||||
=== 이 호스트 ===
|
||||
donghyeon-960XGK
|
||||
lo UNKNOWN 127.0.0.1/8
|
||||
wlo1 UP 192.168.0.103/24
|
||||
tailscale0 UNKNOWN 100.123.124.30/32
|
||||
mpqemubr0 DOWN 10.208.141.1/24
|
||||
docker0 DOWN 172.17.0.1/16
|
||||
=== 이름 해석 ===
|
||||
100.92.240.34 git.learn.hyeonworks.com
|
||||
100.92.240.34 id.learn.hyeonworks.com
|
||||
100.92.240.34 storage-admin.learn.hyeonworks.com
|
||||
100.92.240.34 db-admin.learn.hyeonworks.com
|
||||
100.92.240.34 grafana.learn.hyeonworks.com
|
||||
=== HTTP ===
|
||||
https://git.learn.hyeonworks.com/api/healthz 200
|
||||
https://storage-admin.learn.hyeonworks.com/ 200
|
||||
https://db-admin.learn.hyeonworks.com/ 302
|
||||
https://grafana.learn.hyeonworks.com/api/health 200
|
||||
=== NodePort ===
|
||||
http://192.168.0.107:30080/ 000
|
||||
http://192.168.0.107:30443/ 000
|
||||
@@ -0,0 +1,38 @@
|
||||
deployment:
|
||||
podAnnotations:
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "9100"
|
||||
prometheus.io/scrape: "true"
|
||||
service:
|
||||
spec:
|
||||
type: NodePort
|
||||
externalTrafficPolicy: Cluster
|
||||
ports:
|
||||
web:
|
||||
nodePort: 30080
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
# 2026-07-23 Host Nginx 경유 probe에서 관측한 Traefik ClientHost이다.
|
||||
- "10.42.0.1/32"
|
||||
websecure:
|
||||
nodePort: 30443
|
||||
metrics:
|
||||
prometheus:
|
||||
service:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
additionalLabels:
|
||||
observability.hyeonworks.com/instance: home
|
||||
jobLabel: app.kubernetes.io/name
|
||||
interval: 30s
|
||||
scrapeTimeout: 10s
|
||||
logs:
|
||||
access:
|
||||
enabled: true
|
||||
format: json
|
||||
fields:
|
||||
general:
|
||||
defaultmode: keep
|
||||
headers:
|
||||
defaultmode: drop
|
||||
@@ -0,0 +1,2 @@
|
||||
raw 에서 만든 터미널 SVG. 표현물이지 정본이 아니다.
|
||||
scripts/terminal-evidence/render_terminal.py 로 만든다.
|
||||
Reference in New Issue
Block a user