Coder Social home page Coder Social logo

argocd-sync-wave-demo's Introduction

ArgoCD Sync-Wave Demo

The health assessment of Application CRD has been removed in version 1.8. If you want to use the app-of-app pattern in your project, you need to understand the following implications.

Unpatched

unpatched

  • All Application CRs are always in the healthy state if the child is also an application.
  • Sync-Wave configurations in Applications do not take effect in terms of waiting.
  • The Sync-Wave order only pauses the default configured wave-to-wave duration.

Patched

patched

  • Application CRs get the health state from there childrens.
  • Sync-Wave configurations in Applications take effect in term of waiting.
  • An errored wave blocks the following waves.

Installing

Add an Application like the following example in your ArgoCD project.

Checklist:

  • namespace in the example is argocd => must exist
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: argo-cd-wave-test
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: https://github.com/mazelab/argocd-sync-wave-demo.git
    path: argocd
    targetRevision: main
    helm:
      values: |
        repo:
          revision: main
          repoURL: https://github.com/mazelab/argocd-sync-wave-demo.git
  destination:
    namespace: argocd
    server: https://kubernetes.default.svc
  syncPolicy:
    syncOptions:
      - CreateNamespace=true
      - PruneLast=true
    automated:
      selfHeal: true
      prune: true
    retry:
      limit: 2

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.