Commit Graph

87 Commits

Author SHA1 Message Date
0489bfe2da FIX(gitea): Use existing PVC to preserve Gitea rep 2026-01-05 00:43:51 +09:00
6e15eac1de REFACTOR(pg): migrate gitea database from bitnami
- Change database host to postgresql-cnpg-rw.postgresql-cnpg.svc.cluster.local
- Change database user from postgres to bluemayne
- Database password remains Po87345364! (same as before)
- Gitea data has been migrated to CNPG successfully
2026-01-05 00:43:51 +09:00
7be1e7cbc8 REFACTOR(code-server): migrate code-server to long
- Migrate Code-server (5Gi) to Longhorn
- Enable HA with replica=2
2026-01-05 00:43:51 +09:00
5904f97127 PERF(code-server): reduce code-server PVC size and
- Reduce PVC size from 20Gi to 5Gi
- Revert storageClass from longhorn to local-path due to storage constraints
- Keep Gitea on longhorn, other apps on local-path
2026-01-05 00:43:51 +09:00
18b7e5fe4a REFACTOR(longhorn): migrate pvcs
- Gitea: 10Gi (replica=3 for high availability)
- Code Server: 20Gi (replica=3)
- Use dedicated 50GB Longhorn storage on each node
2026-01-05 00:43:51 +09:00
abc1a546e4 CHORE(headlamp): set CPU limits to null for k8s-dashboard
- Remove CPU limits to prevent throttling
- Optimize resource configuration
2026-01-05 00:43:51 +09:00
59c3a5ea4f FIX(gitea): change ingress nginx to haproxy
Fixes: 404 Not Found error due to nginx ingress class
2025-12-26 12:09:23 +09:00
6805058bc4 PERF(grafana): optimize cpu requests based on actu
- code-server: 50m → 5m (actual: 1m)
- docusaurus: 50m → 5m (actual: 1m)
- kubernetes-dashboard: 15m → 5m (actual: 1m)
- kubernetes-dashboard-metrics-scraper: 50m → 5m (actual: 1m)
- homer: 50m → 5m (actual: 1m)
- umami: 30m → 5m (actual: 1m)
- gitea: 50m → 10m (actual: 5m)
2025-12-26 11:46:38 +09:00
22a84b1eed REFACTOR(docs): remove cpu limit from docs to prev 2025-12-26 11:37:51 +09:00
47e3bf1b4e PERF(resources): optimize cpu requests for worker-
Reduced CPU requests to prevent node-agent scheduling failures:
- code-server: 100m → 50m (actual usage ~5m)
- kubernetes-dashboard metrics-scraper: 100m → 50m (actual usage minimal)

This optimization frees up 100m CPU on worker-node-2, allowing
Velero node-agent (30m request) to be scheduled successfully.

Worker-node-2 CPU allocation before: 840m/1000m (84%)
Worker-node-2 CPU allocation after: 730m/1000m (73%)
2025-12-26 10:34:59 +09:00
af5343fbc3 PERF(code-server): reduce resource requests for wo 2025-12-26 09:50:38 +09:00
cb532c3bd1 FEAT(traefik): add per-application ingress managem
- Added ingress.yaml for code-server, kubernetes-dashboard, and umami
- Updated kustomization files to include ingress resources
- Migrated from centralized ingress management to per-app architecture
2025-12-25 20:21:26 +09:00
d78cede2d0 REFACTOR(docs): migrate ingresses to haproxy
- Changed ingressClassName from nginx to haproxy
- homer/homer.yaml: mayne.kro.kr
- docusaurus/ingress.yaml: docusaurus0213.kro.kr
2025-12-25 19:50:52 +09:00
5305dc1cf0 FEAT(velero): add velero,horn to homer 2025-12-25 14:50:24 +09:00
ac4705335c FEAT(velero): add velero,horn to homer 2025-12-25 14:38:43 +09:00
3f5c38ab49 REFACTOR(code-server): change username in code-ser 2025-12-25 01:32:46 +09:00
a26cc8d77c FEAT(code-server): grant permissions 2025-12-25 01:21:10 +09:00
e9072e573c FEAT(code-server): grant permissions 2025-12-25 01:11:16 +09:00
424d3656ce FEAT(code-server): grant permissions 2025-12-25 01:09:40 +09:00
5c8ab74aed FEAT(code-server): grant permissions 2025-12-25 01:06:18 +09:00
0dd4f36e85 FEAT(homer): add chainlit to homer 2025-12-25 00:47:31 +09:00
fcc1ccbd73 FIX(homer): homer init container: use apps.git ins 2025-12-20 14:10:17 +09:00
9016c64236 REFACTOR(homer): remove harbor and tekton dashboar 2025-12-20 13:13:54 +09:00
e262873c5e REFACTOR(repo): remove ignoreDifferences 2025-12-19 20:16:47 +09:00
77e79493bb FIX(repo): ignoreDiff to use jsonPointers for chec 2025-12-19 20:08:05 +09:00
8028d13f33 FIX(gitea): gitea password policy to prevent force
Set passwordMode to initialOnlyDoNotUpdate to prevent Gitea from forcing
password changes on every pod restart. This resolves the issue where users
were continuously prompted to update their password, causing ArgoCD
authentication failures.
2025-12-19 18:56:56 +09:00
6ab36dc76e FIX(repo): Use correct strategy key name
- Change deploymentStrategy to strategy
- This is the correct key according to gitea helm chart values.yaml
2025-12-18 19:41:35 +09:00
d955521379 FIX(gitea): gitea deployment strategy config
- Use correct key: deploymentStrategy instead of deployment.strategy
- Set type to Recreate to prevent leveldb lock conflicts
- This will resolve OutOfSync issue
2025-12-18 19:37:18 +09:00
924fff5d4c REFACTOR(gitea): change gitea Deployment strategy
- Fix OutOfSync issue caused by kubectl.kubernetes.io/restartedAt annotation
- Prevent leveldb lock conflicts during updates
- Recreate strategy ensures clean pod replacement
2025-12-18 19:33:59 +09:00
99ec89d2f1 CHORE(gitea): update gitea Application to use apps
- Change repoURL from infrastructure.git to applications.git
- Consolidate all gitea resources in applications repository
- Remove dependency on infrastructure repository
2025-12-18 19:23:37 +09:00
b6c581492b FEAT(gitea): add gitea Application to apps reposit
- Move gitea Application definition to applications repo
- Add gitea resources (helm-values, vault secrets, runner deployment)
- Update kustomization.yaml to include gitea Application
- This enables ArgoCD to manage gitea with proper Helm chart integration
2025-12-18 19:08:20 +09:00
950058278a FIX(docs): add root redirect to /intro/
- Docusaurus builds index.html at /intro/ instead of root
- Add redirect from root (/) to /intro/ to fix 403 Forbidden error
- Update try_files fallback to use /intro/index.html
2025-12-17 23:55:08 +09:00
c689a913de FIX(docs): Change docs source repository from infr
- Change git clone from infrastructure.git to applications.git
- This matches the ArgoCD Application configuration
- Fixes 'No such file or directory' error in initContainer
2025-12-17 23:35:45 +09:00
82e0d91987 FIX(docs): fix build output copy command
- Change cp -r build/* /build/ to cp -r build/. /build/
- This ensures all files and directories (including hidden files) are copied
- Fixes 403 Forbidden error caused by missing index.html in nginx root
2025-12-17 23:25:42 +09:00
09c53730db REFACTOR(code-server): change vault secret path 2025-12-17 21:32:30 +09:00
089f8c0575 CHORE(argocd): update ArgoCD apps to point to apps 2025-12-17 15:13:15 +09:00
9763b1e682 INIT(repo): apps setup with all user-facing servic 2025-12-17 15:11:34 +09:00