Files
cozystack/packages/system
Andrei KvapilandClaude a628adeb35 [platform] Switch cozystack-api from DaemonSet to Deployment with PreferClose
Replace DaemonSet with direct host API access in favor of a regular
Deployment using Service trafficDistribution: PreferClose. This provides
prefer-local routing to the nearest cozystack-api pod with fallback
to remote pods when local one is unavailable.

- Replace DaemonSet/Deployment toggle with always-Deployment
- Replace internalTrafficPolicy: Local with trafficDistribution: PreferClose
- Remove KUBERNETES_SERVICE_HOST/PORT override (use default kubernetes service)
- Replace hard nodeSelector with soft nodeAffinity for control-plane nodes
- Simplify migration hook to always clean up DaemonSet if present

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-02-12 17:18:14 +01:00
..
2026-02-11 06:13:35 +00:00
2026-02-11 06:13:35 +00:00
2026-01-20 03:24:32 +01:00
2026-02-11 06:13:35 +00:00
2026-02-10 20:15:15 +01:00
2026-02-10 22:16:11 +01:00
2026-02-11 06:13:35 +00:00
2026-02-10 20:19:03 +01:00
2026-01-15 23:32:41 +00:00
2026-01-20 03:24:32 +01:00
2026-01-20 03:24:32 +01:00
2026-02-11 06:13:35 +00:00