Coder Social home page Coder Social logo

gitops-playground's Introduction

GitOps Playground

This repo serves as a starting point to explore and learn GitOps tooling in a local Kubernetes cluster.

What is GitOps?

GitOps is the automation of DevOps best practices for application management.

Key Properties:

  • Git is the single source of truth
  • System state is defined in a declarative manner
  • CI/CD is responsible for building, testing, and deployment
  • Commits are the trigger for changes to a target environment
  • Changes to the environment can be monitored and provide feedback

Application Deployment Tooling

  • Flux
    • Pros
      • Supports Helm and Kustomize
      • Simple approach to automatic application deployments
      • Multi-tenant support
    • Cons
      • CLI driven, no native UI support
  • ArgoCD
    • Pros
      • Supports Helm and Kustomize
      • Native UI
      • Multi-tenant support
    • Cons
      • Argo deployments are a bit more involved

Local Development

Local development leverages K3D to create a local Kubernetes cluster.

Kubectl and FluxCLI are used to bootstrap the cluster.

A hello world app will be deployed via Flux and ArgoCD. The built-in Traefik ingress controller is used to proxy the applications.

URL endpoints:

Requirements

Usage

Run make create to create the local Kubernetes cluster and bootstrap Flux and ArgoCD.

Make Targets

❯ make
help                           View help information
asdf-bootstrap                 Install all tools through asdf-vm
flux-bootstrap                 Install flux in k3d cluster
argo-bootstrap                 Install argo in k3d cluster
bootstrap                      Perform all bootstrapping required for local development
create                         Create local development environment
clean                          Destroy local development environment

gitops-playground's People

Contributors

dannylongeuay avatar dlongeuay avatar

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.