Commit Graph

26 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
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
5890f09ada PERF(apps): reduce replicas to 1
- Reduce docusaurus, headlamp, umami replicas to 1
2026-01-10 13:31:34 +09:00
fd542fb409 FIX(headlamp): configure OIDC authentication
- Remove groups scope (Authelia does not provide groups claim)
- Set proper baseURL for OIDC redirect
- Revert baseURL to empty string (must be empty or start with '/')
2026-01-10 01:20:46 +09:00
ab5d432f5c CHORE(resources): set memory limits equal to memory requests
- Align memory limits with memory requests for guaranteed QoS class
- umami, code-server, docusaurus
- gitea, homer, mas, headlamp
2026-01-10 01:20:46 +09:00
fd1548c70c FEAT(applications): enable HA with replica 2 and soft anti-affinity
- Add replicaCount: 2 to docusaurus, headlamp, homer, mas, umami
- Add soft pod anti-affinity for node distribution
- Enable high availability across multiple nodes
2026-01-09 21:38:09 +09:00
a051b67030 PERF(resources): remove CPU limits - keep memory limits only
- CPU throttling prevents app startup, not crashes
- Memory OOM is the real cascading failure cause
- CPU request ensures fair scheduling
2026-01-07 23:48:31 +09:00
b5517f757a PERF(resources): increase CPU limit to VPA × 3 for startup burst
- Change CPU limit multiplier from 1.5x to 3x
- Prevents throttling during app startup
- Affected: code-server, crafty, docusaurus, gitea, headlamp,
  homer, immich, mas, umami
2026-01-07 23:35:06 +09:00
3bc0b76135 PERF(repo): apply CPU/Memory limits based on VPA
- Set CPU request to VPA recommendation
- Set CPU limit to VPA × 1.5 for burst allowance
- Set Memory limit to VPA × 1.5 to prevent OOM
- Prevent cascading failure on node failure
2026-01-07 23:07:30 +09:00
2bb0b693db FIX(headlamp): skip TLS verification for OIDC
- Add -oidc-skip-tls-verify flag via extraArgs
- Workaround for CA cert validation issue
2026-01-07 01:30:57 +09:00
779724b9f7 FIX(headlamp): update Vault secret path for OIDC
- Change path from cluster-infrastructure/authelia to authelia
- Fix ExternalSecret sync error
2026-01-07 01:02:30 +09:00
753543648b FIX(headlamp): update ingress for chart 0.39.0
- Update ingress hosts configuration for new chart version
- Fix breaking changes in Headlamp Helm chart
2026-01-06 15:30:07 +09:00
fb0fb44251 REFACTOR(apps): integrate ingress to helm-values
- code-server: move ingress to helm-values, rbac to manifests
- headlamp: move ingress to helm-values, external-secret to manifests
2026-01-06 01:57:21 +09:00
42eb875c01 REFACTOR(repo): migrate repoURL to K3S-HOME
- Update repository URL to K3S-HOME organization
- Change from personal to organization repo
2026-01-05 00:43:51 +09:00
renovate[bot]
d891c364fd CHORE(headlamp): update Helm release
- Update Headlamp Helm chart version
- Apply dependency updates
2026-01-05 00:43:51 +09:00
fbe5734fc1 FIX(headlamp): restore oidc config for k3s
- Restore OIDC configuration for K3s cluster
- Fix authentication settings
2026-01-05 00:43:51 +09:00
362ebd6c7d REFACTOR(headlamp): switch to authelia
- Remove OIDC config from helm-values
- Remove ExternalSecret (not needed)
- Add Authelia middleware to ingress
- Headlamp uses ServiceAccount for K8s API access
2026-01-05 00:43:51 +09:00
4a439f8b1d FEAT(headlamp): add oidc_validator env vars for Headlamp
- Add OIDC validator environment variables
- Configure OIDC authentication settings
2026-01-05 00:43:51 +09:00
1731b0ba4e FIX(headlamp): fix OIDC env var names
- Correct OIDC environment variable names
- Fix authentication configuration
2026-01-05 00:43:51 +09:00
b74bc14950 FIX(headlamp): set baseURL to empty string
- Change baseURL to empty string
- Fix path routing configuration
2026-01-05 00:43:51 +09:00
6d19c01bf1 FIX(headlamp): use ExternalSecret for OIDC config
- Use externalSecret.enabled instead of env
- Add template to ExternalSecret with all OIDC fields
2026-01-05 00:43:51 +09:00
f17bbe3514 FEAT(headlamp): configure Headlamp OIDC with Authelia
- Add OIDC configuration (clientID, issuerURL, scopes)
- Add ExternalSecret for OIDC client secret from Vault
- Remove Authelia middleware (using direct OIDC auth)
2026-01-05 00:43:51 +09:00
47eacb506d FIX(headlamp): fix Helm repo URL
- Correct Headlamp Helm repository URL
- Fix chart source configuration
2026-01-05 00:43:51 +09:00
5227d9361d REFACTOR(headlamp): replace k8s-dash with Headlamp 2026-01-05 00:43:51 +09:00