Hey everyone! I'm working with a k3s cluster and use ArgoCD to manage our app deployments. Right now, I write our app manifests as Kustomize templates with overlays for different environments. While this setup works most of the time, I often hit formatting issues and logic errors from copy-pasting templates, which usually pop up only when ArgoCD tries to deploy them.
Since I'm the only DevOps person on my team, I'm trying to streamline our workflow instead of just telling everyone to modify templates manually. I've started exploring KCL and I'm interested in Pulumi too, especially since it allows me to learn TypeScript, which my team uses. I haven't tried CUE yet.
My goal is to have a more programmatic approach to writing these manifests and perhaps generate them through a build pipeline, so we can validate them before pushing directly to Git. I'm leaning towards Pulumi for template generation but I'm open to advice. Any thoughts on which tool is best for this?
1 Answer
Honestly, I think you might not need to switch technologies just yet. If your main issue is formatting and validation, consider adding linting to your workflow. You could easily integrate this into your CI/CD process or even set up a pre-commit hook to catch those YAML errors before they reach ArgoCD. It could save you some trouble without overhauling your current process.
I see your point, but it feels like just adding more tasks to my plate, you know?