Passer au contenu principal
Menu
← BACK TO WORK

GitOps Deployment

Continuous Deployment

Pipeline GitOps avec ArgoCD pour le déploiement déclaratif et rollback instantané.

ClientProjet Lab
RoleIngénieur DevOps
Year2024
StackGitLab CI/CD, Kubernetes, Helm, Git
GitOps Deployment

THE CHALLENGE

Synchroniser automatiquement l'état du cluster Kubernetes avec le dépôt Git et gérer les conflits de configuration.

argocd-application.yaml
1
apiVersion: argoproj.io/v1alpha1
2
kind: Application
3
metadata:
4
  name: production-app
5
  namespace: argocd
6
spec:
7
  project: default
8
  source:
9
    repoURL: https://github.com/myorg/manifests
10
    targetRevision: main
11
    path: production
12
  destination:
13
    server: https://kubernetes.default.svc
14
    namespace: production
15
  syncPolicy:
16
    automated:
17
      prune: true
18
      selfHeal: true
19
    syncOptions:
20
      - CreateNamespace=true
Detail View

Explore More

All Projects