May 2024 Summaries
3 posts from Codefresh
Filter
Month:
Year:
Post Summaries
Back to Blog
The guide explores how to create dynamic preview environments using Argo CD and the Pull Request Generator, allowing developers to test new features in isolation by automatically generating environments from pull requests in the application source code. This setup, which aligns with GitOps principles, ensures that each pull request results in a new namespace containing the relevant deployment, enabling developers to test their features without needing to understand the intricacies of Kubernetes or Argo CD. The process involves using a Continuous Integration (CI) system, like Codefresh, to build container images tagged with the Git hash, facilitating seamless deployments. When a pull request is merged or closed, Argo CD automatically discards the corresponding environment. The guide highlights the benefits of this approach, including the ability to track configuration differences, revert to previous versions, and manage cloud resources efficiently. Despite being simple to implement, this strategy has limitations, such as not monitoring Kubernetes manifest repositories, which will be addressed in future articles.
May 30, 2024
1,748 words in the original blog post.
Codefresh/Octopus has introduced new features, Environments and Products, to simplify Continuous Deployment (CD) and tackle the challenges of managing ArgoCD applications across multiple environments. These innovations allow users to organize applications according to different stages of the software delivery lifecycle, such as Development, Testing, and Production, as well as across various regions, enhancing flexibility and scalability. Environments are categorized into Production or Non-production, aiding in targeted policy creation, while Products enable the definition of relationships between applications across different environments, facilitating easy comparison and visibility. The new dashboards offer clear insights into the deployment status across environments, with customizable views of application versions, including Helm chart versions and image tags, allowing for comprehensive version history tracking. Detailed guides and documentation are provided to help users leverage these features fully, and the company encourages feedback to refine and expand their offerings.
May 20, 2024
483 words in the original blog post.
The article delves into managing and organizing GitOps environments using Argo CD, emphasizing the separation of Kubernetes manifests and Argo CD application manifests to prevent complications and maintain clarity. It outlines best practices for structuring Git repositories, advocating for a three-level approach that includes Kubernetes manifests, Application Sets, and optionally, an App-of-App for bootstrapping clusters. The discussion highlights the pitfalls of mixing manifest types, using templating at multiple levels, and working at incorrect abstraction levels, advising against these common anti-patterns. It recommends using multiple Git repositories, ideally one per team, to enhance performance and usability, and stresses the importance of keeping infrastructure applications separate from developer applications. The article underscores the utility of Application Sets for efficiently managing multiple applications across various environments, facilitating a more streamlined and scalable approach to deploying applications with Argo CD.
May 17, 2024
3,986 words in the original blog post.