first commit

This commit is contained in:
2026-07-08 14:58:58 +07:00
commit 634c8e8ba5
19 changed files with 471 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
# Service + Endpoints không selector -> trỏ tới hạ tầng NGOÀI K8s (theo pattern argo-k8s).
# MinIO lake: GIỮ NGUYÊN, K8s compute trỏ vào đây như S3 endpoint.
# ĐIỀN IP THẬT của máy chạy MinIO (VM lake) trước khi apply.
---
apiVersion: v1
kind: Service
metadata:
name: minio-lake
namespace: dbiz-lake-dev
spec:
ports:
- name: s3
port: 9000
targetPort: 9000
---
apiVersion: v1
kind: Endpoints
metadata:
name: minio-lake
namespace: dbiz-lake-dev
subsets:
- addresses:
- ip: 192.168.110.37 # <-- ĐIỀN IP máy MinIO (VM lake)
ports:
- name: s3
port: 9000
---
# Postgres nguồn CRM (172.20.109.5) — để Debezium/Strimzi trỏ tới khi CDC
apiVersion: v1
kind: Service
metadata:
name: crm-source-pg
namespace: dbiz-lake-dev
spec:
ports:
- name: pg
port: 5432
targetPort: 5432
---
apiVersion: v1
kind: Endpoints
metadata:
name: crm-source-pg
namespace: dbiz-lake-dev
subsets:
- addresses:
- ip: 172.20.109.5
ports:
- name: pg
port: 5432