In our previous post , we set up push based reconciliation using webhooks. Building on what we've learned so far— basic FluxCD setup , SOPS-based secret management , image update automation , Helm chart automation , alerts and push based reconciliation — this article focuses on critical day-two operational concerns: optimizing FluxCD resource allocation and establishing automated version management through Github Actions.
1. Sizing FluxCD Containers
By default, FluxCD components are provisioned with the following resource configurations for CPU and memory:
kubectl -n flux-system get pods -o json | jq -r '["container", "cpu_requests", "cpu_limits", "memory_requests", "memory_limits"], (.items[].spec.containers[] | [.image, .resources.requests.cpu, .resources.limits.cpu, .resources.requests.memory, .resources.limits.memory]) | @csv' | column -t -s ,
"container" "cpu_requests" "cpu_limits" "memory_requests" "memory_limits" "ghcr.io/fluxcd/helm-controller:v1.2.0" "100m" "1" "64Mi" "1Gi"…