What should I be aware of when adopting pipelines as code with GitOps?

0
16
Asked By TechNinja9000 On

I'm considering transitioning our CI/CD processes to a GitOps model, where we handle both application and infrastructure changes through pull requests, using declarative configurations, and implementing reviews and auto-promotions. I'm curious about potential pitfalls to avoid, such as repo sprawl, managing secrets and ephemeral credentials, the risk of drift between the pipeline runner and cluster, issues with flaky approvals, maintaining proper hygiene during environment promotions, and the complexity of rollbacks. Additionally, I'd appreciate any insights on tooling options (like Argo CD, Flux, Tekton, or GitHub Actions), managing environment-specific overlays, and ensuring our pipelines remain testable and versioned without hampering team productivity.

5 Answers

Answered By PipelinePal45 On

What exact issues are you looking to resolve with this GitOps approach? Clarifying your goals might help in identifying potential hurdles ahead.

Answered By DevOpsDude22 On

If you're handling complex projects, the continuous deployment features in GitHub may not cover all your needs. In that case, consider using a dedicated tool like Argo CD or Kargo for better control.

Answered By InfraGuru99 On

A key lesson I learned is to keep your infrastructure configuration separate from your application code. It helps mitigate some of the complexities.

Answered By CodeWizard88 On

Watch out for repo sprawl and the challenges that come with managing secrets. Using Argo CD can be beneficial because of its declarative nature, and Tekton offers great flexibility. Keeping an eye on these areas will help ensure a smoother transition.

Answered By AzureAce77 On

In my experience with Azure DevOps, I create a pipeline that generates other pipelines, consolidating all definitions in one repo. One drawback is that the Azure DevOps repository doesn't allow for defining PR auto triggers in code, so I have to set each repository policy manually.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.