❤️
악분의 ArgoCD 공부기록
  • Home
  • Argo CD 소개
    • 실습자료
    • 컨셉과 장단점
    • 설치
    • 아키텍처
  • ArgoCD CLI 설치
    • 설치
    • login
  • ARGO CD HelloWorld
    • nginx pod, service 배포
  • ARGO CD 단위
    • 소개
    • Applicaiton
    • Project
  • Sync 설정
    • 소개
    • Refresh Period
    • 수동 Refresh
    • Sync와 Sync Policy
    • Sync Status
    • Health Status
    • Prune
    • Directory Recurse
    • Self healing
    • Ignore Difference
    • Non Cascade 삭제
    • ArgoCD로 관리되는지 확인
    • 기존 리소스 연결
    • helm chart
    • kustomize
  • Sync LifeCycle
    • Phases
  • private repository
    • 소개
    • git private repo 관리
  • User 관리
    • 소개
    • Argo CD user
    • Built-in user
    • Local user 생성
    • 권한(Role) 관리
  • Argo CD Project
    • Project란?
    • Project 생성 예제
    • Project 설정
    • Project 설정 예제
    • Project 권한(Role)과 예제
  • App of Apps
    • App of Apps 패턴
  • Multi cluster 관리
    • 클러스터 추가
  • 모니터링
    • 소개
    • Argo CD Metrics 추가
    • Prometheus Operator 설치
Powered by GitBook
On this page
  • 개념
  • 사용방법
  1. Sync 설정

Ignore Difference

PreviousSelf healingNextNon Cascade 삭제

Last updated 2 years ago

개념

Ignore Difference는 특정 필드나 리소스를 비교대상에 제외시키는 기능입니다. 에를 들어 replica를 git에 수정해도 argocd에서 replica수정을 무시하게 합니다.

사용방법

안타깝게도 아직은 WEB UI에서 Ignore Difference를 제공하지 않습니다. Application CRD 또는 argocd configmap에서 설정할 수 있습니다. 자세한 내용은 argocd diffing문서()를 참고하시길 바랍니다.

아래 예제는 Applicatoin CRD정의 입니다.

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: external-secrets-operator
  ...
spec:
  project: default
  source:
    ...
  destination:
    ...
  syncPolicy:
    ...
  ignoreDifferences: <--
    ...
https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/