Menu

Kubernetes GitOps with FluxCD - Part 7 - Resource Optimization and Automated Version Management with Github Actions
📰

Kubernetes GitOps with FluxCD - Part 7 - Resource Optimization and Automated Version Management with Github Actions

DEV Community: kubernetes·Apurv Kiri·10 days ago
#2ZcIj8dy
#devtokubernetes#devto#dev#fluxcd#controller
Long article (683 words) — no AI summary yet.
Reading 0:00
15s threshold

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"…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.