Compare commits

...

6 Commits

Author SHA1 Message Date
6f8346ebdf PERF(applications): remove CPU limits for stability
- Remove CPU limits from docusaurus, headlamp, homer, mas
- Prevents CPU throttling issues
2026-01-12 02:27:19 +09:00
9839875e2a PERF(umami,code-server): remove CPU limits for stability
- umami: increase memory to 600Mi, remove CPU limit
- code-server: increase memory to 302Mi, remove CPU limit
2026-01-12 02:00:42 +09:00
0ae70de5bc PERF(umami): increase memory limit to upperBound
- Memory limit 323Mi was causing OOMKilled
- Increase to 433Mi (VPA upperBound)
2026-01-12 01:51:37 +09:00
fcb0413aff PERF(applications): optimize resources via VPA
- code-server: CPU 15m/15m, memory 225Mi/225Mi
- docusaurus: CPU 10m/16m, memory 50Mi/50Mi
- headlamp: CPU 15m/15m, memory 100Mi/100Mi
- homer: CPU 10m/12m, memory 50Mi/50Mi
- mas: CPU 15m/15m, memory 144Mi/203Mi
- umami: CPU 15m/15m, memory 271Mi/323Mi
2026-01-12 01:08:46 +09:00
f812dcc75f refactor: update Vault secret paths to new categorized structure
- code-server: code-server → applications/code-server
- mas: mas → applications/mas, postgresql → storage/postgresql
- umami: umami → applications/umami
- headlamp: authelia → security/authelia

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 22:36:11 +09:00
58455b689f migrate: change repoURLs from GitHub to Gitea
Update all ArgoCD Application references to use Gitea (github0213.com)
instead of GitHub for K3S-HOME/applications repository.
Also update docusaurus to use gitea-creds for Image Updater write-back.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 20:43:26 +09:00
17 changed files with 37 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ spec:
project: default project: default
source: source:
repoURL: https://github.com/K3S-HOME/applications.git repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
path: . path: .

View File

@@ -14,10 +14,10 @@ spec:
helm: helm:
valueFiles: valueFiles:
- $values/code-server/helm-values.yaml - $values/code-server/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
ref: values ref: values
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
path: code-server path: code-server
destination: destination:

View File

@@ -40,13 +40,13 @@ service:
type: ClusterIP type: ClusterIP
port: 8080 port: 8080
# Resource limits # Resource settings (no CPU limit for stability)
resources: resources:
requests: requests:
cpu: 15m cpu: 15m
memory: 215Mi memory: 225Mi
limits: limits:
memory: 215Mi memory: 302Mi
# Security context # Security context
securityContext: securityContext:

View File

@@ -14,5 +14,5 @@ spec:
data: data:
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: code-server key: applications/code-server
property: PASSWORD property: PASSWORD

View File

@@ -9,19 +9,19 @@ metadata:
argocd-image-updater.argoproj.io/image-list: docusaurus=zot0213.kro.kr/docusaurus:latest argocd-image-updater.argoproj.io/image-list: docusaurus=zot0213.kro.kr/docusaurus:latest
argocd-image-updater.argoproj.io/docusaurus.update-strategy: digest argocd-image-updater.argoproj.io/docusaurus.update-strategy: digest
argocd-image-updater.argoproj.io/docusaurus.pull-secret: pullsecret:argocd/zot-creds argocd-image-updater.argoproj.io/docusaurus.pull-secret: pullsecret:argocd/zot-creds
argocd-image-updater.argoproj.io/write-back-method: git:secret:argocd/github-creds argocd-image-updater.argoproj.io/write-back-method: git:secret:argocd/gitea-creds
argocd-image-updater.argoproj.io/git-branch: main argocd-image-updater.argoproj.io/git-branch: main
argocd-image-updater.argoproj.io/docusaurus.helm.image-tag: image.tag argocd-image-updater.argoproj.io/docusaurus.helm.image-tag: image.tag
spec: spec:
project: default project: default
sources: sources:
- repoURL: https://github.com/K3S-HOME/web-apps.git - repoURL: https://github0213.com/K3S-HOME/web-apps.git
targetRevision: main targetRevision: main
path: charts/web-app path: charts/web-app
helm: helm:
valueFiles: valueFiles:
- $values/docusaurus/helm-values.yaml - $values/docusaurus/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
ref: values ref: values
destination: destination:

View File

@@ -34,12 +34,13 @@ ingress:
hosts: hosts:
- docusaurus0213.kro.kr - docusaurus0213.kro.kr
# Resource settings (no CPU limit for stability)
resources: resources:
requests: requests:
memory: 100Mi cpu: 10m
cpu: 15m memory: 50Mi
limits: limits:
memory: 100Mi memory: 50Mi
healthCheck: healthCheck:
enabled: true enabled: true

View File

@@ -14,10 +14,10 @@ spec:
helm: helm:
valueFiles: valueFiles:
- $values/headlamp/helm-values.yaml - $values/headlamp/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
ref: values ref: values
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
path: headlamp path: headlamp
destination: destination:

View File

@@ -19,6 +19,7 @@ service:
type: ClusterIP type: ClusterIP
port: 80 port: 80
# Resource settings (no CPU limit for stability)
resources: resources:
requests: requests:
cpu: 15m cpu: 15m

View File

@@ -23,5 +23,5 @@ spec:
data: data:
- secretKey: clientSecret - secretKey: clientSecret
remoteRef: remoteRef:
key: authelia key: security/authelia
property: HEADLAMP_CLIENT_SECRET property: HEADLAMP_CLIENT_SECRET

View File

@@ -14,10 +14,10 @@ spec:
helm: helm:
valueFiles: valueFiles:
- $values/homer/helm-values.yaml - $values/homer/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
ref: values ref: values
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
path: homer path: homer
destination: destination:

View File

@@ -22,7 +22,7 @@ controllers:
- sh - sh
- -c - -c
- | - |
git clone --depth 1 --branch main https://github.com/K3S-HOME/applications.git /tmp/repo git clone --depth 1 --branch main https://github0213.com/K3S-HOME/applications.git /tmp/repo
rm -rf /www/assets rm -rf /www/assets
cp -r /tmp/repo/homer/assets /www/assets cp -r /tmp/repo/homer/assets /www/assets
cp /config/config.yml /www/assets/config.yml cp /config/config.yml /www/assets/config.yml
@@ -34,9 +34,10 @@ controllers:
repository: b4bz/homer repository: b4bz/homer
tag: latest tag: latest
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Resource settings (no CPU limit for stability)
resources: resources:
requests: requests:
cpu: 11m cpu: 10m
memory: 50Mi memory: 50Mi
limits: limits:
memory: 50Mi memory: 50Mi

View File

@@ -14,10 +14,10 @@ spec:
helm: helm:
valueFiles: valueFiles:
- $values/mas/helm-values.yaml - $values/mas/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
ref: values ref: values
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
path: mas path: mas
destination: destination:

View File

@@ -43,12 +43,13 @@ controllers:
POSTGRES_PORT: "5432" POSTGRES_PORT: "5432"
POSTGRES_USER: "bluemayne" POSTGRES_USER: "bluemayne"
REDIS_URL: "redis://redis:6379/0" REDIS_URL: "redis://redis:6379/0"
# Resource settings (no CPU limit for stability)
resources: resources:
requests: requests:
cpu: 15m cpu: 15m
memory: 175Mi memory: 144Mi
limits: limits:
memory: 175Mi memory: 203Mi
probes: probes:
startup: startup:
enabled: true enabled: true

View File

@@ -13,7 +13,7 @@ spec:
data: data:
- secretKey: anthropic-api-key - secretKey: anthropic-api-key
remoteRef: remoteRef:
key: mas key: applications/mas
property: ANTHROPIC_API_KEY property: ANTHROPIC_API_KEY
--- ---
apiVersion: external-secrets.io/v1 apiVersion: external-secrets.io/v1
@@ -31,5 +31,5 @@ spec:
data: data:
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: postgresql key: storage/postgresql
property: PASSWORD property: PASSWORD

View File

@@ -14,10 +14,10 @@ spec:
helm: helm:
valueFiles: valueFiles:
- $values/umami/helm-values.yaml - $values/umami/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
ref: values ref: values
- repoURL: https://github.com/K3S-HOME/applications.git - repoURL: https://github0213.com/K3S-HOME/applications.git
targetRevision: main targetRevision: main
path: umami path: umami
destination: destination:

View File

@@ -50,12 +50,13 @@ service:
type: ClusterIP type: ClusterIP
port: 3000 port: 3000
# Resource settings (no CPU limit for stability)
resources: resources:
requests: requests:
cpu: 15m cpu: 15m
memory: 283Mi memory: 271Mi
limits: limits:
memory: 283Mi memory: 600Mi
replicaCount: 1 replicaCount: 1

View File

@@ -14,9 +14,9 @@ spec:
data: data:
- secretKey: database-url - secretKey: database-url
remoteRef: remoteRef:
key: umami key: applications/umami
property: DATABASE_URL property: DATABASE_URL
- secretKey: hash-salt - secretKey: hash-salt
remoteRef: remoteRef:
key: umami key: applications/umami
property: HASH_SALT property: HASH_SALT