Coder Social home page Coder Social logo

argocd-in-practice's Introduction

Argo CD in Practice

Early Access

This is the code repository for Argo CD in Practice, published by Packt.

The GitOps way of managing cloud-native applications

What is this book about?

GitOps follows the practices of infrastructure as code (IaC), allowing developers to use their day-to-day tools and practices such as source control and pull requests to manage apps. With this book, you’ll understand how to apply GitOps bootstrap clusters in a repeatable manner, build CD pipelines for cloud native apps running on Kubernetes, and minimize the failure of deployments.

This book covers the following exciting features: Understand GitOps principles and how they relate to IaC Discover how Argo CD sets the background for reconciling Git state with the cluster state Run Argo CD in production with an emphasis on reliability and troubleshooting Bootstrap Kubernetes clusters with essential utilities following the GitOps approach Set up a CD pipeline and minimize the failure of deployments Explore ways to verify and validate the YAML you put together when working with Kubernetes Understand the democratization of GitOps and how the GitOps engine will enable its further adoption

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, ch01.

The code will look like the following:

apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-cm
data:
  accounts.alina: apiKey, login

Following is what you need for this book: If you’re a software developer, DevOps engineer, or SRE who is responsible for building CD pipelines for projects running on Kubernetes and wants to advance in your career, this book is for you. Basic knowledge of Kubernetes, Helm, or Kustomize and CD pipelines will help you to get the most out of this book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-9).

Software and Hardware List

Software required OS required
Argo CD v2.1 and v2.2 Windows, macOS, or Linux

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Authors

Spiros Economakis started as a Software Engineer in 2010 and went through a series of jobs and roles from Software Engineer, Software Architect to Head of Cloud. In 2013 founded its own startup and that was the first touch with DevOps culture and built with a small team a couple of CI/CD pipelines for a microservice architecture and mobile apps releases. After this in most of the companies involved to influence DevOps culture and automation.

In 2019 started as an SRE in Lenses (acquired by Celonis) and soon influenced the organization with Kubernetes, GitOps, Cloud and transitioned to a position as Head of Cloud where he introduced GitOps across the whole company and used Argo CD for bootstrapping k8s clusters with utilities and continuous delivery applications. Now he works in an open-source company which is called Mattermost as a Senior Engineering Manager/SRE where he transformed the old GitOps approach (fluxcd) to GitOps v2.0 with Argo CD and built a scalable architecture for multi-tenancy.

Liviu Costea started as a developer in the early 2000 and his career path took him to different roles from Developer to Coding Architect and from Team Lead to CTO. In 2012 he transitioned to DevOps, when at a small company, someone had to start working on pipelines and automation because the traditional way wasn’t scalable anymore.

In 2018 he started with the Platform Team and then he was the Tech Lead in the Release Team at Mambu, where they designed most of the CI/CD pipelines, adopting GitOps practices. They have been live with Argo CD since 2019. More recently he joined Juni, a promising startup, where they are planning the GitOps adoption. For his contributions to OSS projects, including Argo CD, he was named CNCF Ambassador in August 2020.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781803233321

argocd-in-practice's People

Contributors

arunpackt avatar josefloressv avatar lcostea avatar packt-itservice avatar rajat-packt avatar roloff-it avatar spirosoik avatar t3mi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

argocd-in-practice's Issues

Out of date versions in versions.tf (Chapter 5)

Chapter 5 - versions.tf file needs updating I think....none of it works when doing a terraform apply. What versions should we be using now (that work) for kustomize, aws and kubernetes ?

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = ">= 4.6.7"
    }

    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = ">= 2.6.1"
    }

    kustomization = {
      source  = "kbst/kustomization"
      version = "0.7.0"
    }
  }
}

The above causes all sorts of problems....very frustrating for new-comers.

chap05 eks.tf non supported attribute

terraform plan -out=plan.out -var=zone_id=us-east-1

│ Error: Unsupported argument

│ on eks.tf line 5, in module "eks":
│ 5: subnets = module.vpc.private_subnets

│ An argument named "subnets" is not expected here.


│ Error: Unsupported argument

│ on eks.tf line 14, in module "eks":
│ 14: workers_group_defaults = {

│ An argument named "workers_group_defaults" is not expected here.


│ Error: Unsupported argument

│ on eks.tf line 18, in module "eks":
│ 18: worker_groups = [

│ An argument named "worker_groups" is not expected here.

What version of eks module should we use for Chap 5 argocd demo?

The module version isn't specified and getting errors with unsupported arguments as follows:
on eks.tf line 7, in module "eks":
│ 7: subnets = module.vpc.private_subnets
on eks.tf line 16, in module "eks":
│ 16: workers_group_defaults = {
on eks.tf line 20, in module "eks":
│ 20: worker_groups = [

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.