이미지 리플렉터 및 자동화 컨트롤러
새 컨테이너 이미지가 생겼을 때 Git 저장소를 자동으로 업데이트해 주는 컨트롤러들을 소개할게요. image-reflector-controller와 image-automation-controller가 함께 동작하며 이 작업을 수행합니다.
출처: 문서
본문
GitOps Toolkit의 이미지 자동화 컨트롤러 문서입니다. image-reflector-controller와 image-automation-controller는 서로 협력해서 새 컨테이너 이미지를 사용할 수 있을 때 Git 저장소를 업데이트해요.
- image-reflector-controller는 이미지 저장소를 스캔해서 이미지 메타데이터를 Kubernetes 리소스에 반영(reflect)해요.
- image-automation-controller는 스캔된 최신 이미지를 기준으로 YAML 파일을 업데이트하고 그 변경 사항을 지정된 Git 저장소에 커밋해요.
링크:
- Reflector 소스 코드: fluxcd/image-reflector-controller
- Reflector 규격 문서(specification docs)
- Automation 소스 코드: fluxcd/image-automation-controller
- Automation 규격 문서(specification docs)
컨트롤러 옵션(Controller Options) — 컨트롤러 명령줄 플래그와 기본값.
이미지 정책(Image Policies) — GitOps Toolkit 사용자 정의 리소스 정의 문서.
이미지 저장소(Image Repositories) — GitOps Toolkit 사용자 정의 리소스 정의 문서.
이미지 리플렉터 API 참조(Image Reflector API Reference)
이미지 업데이트 자동화 API 참조(Image Update Automation API Reference)
이미지 업데이트 자동화(Image Update Automations) — GitOps Toolkit 사용자 정의 리소스 정의 문서.