Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argocd: add custom health for cluster-api machinedeployment #18

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

zugwan
Copy link
Contributor

@zugwan zugwan commented Oct 17, 2023

Cluster API MachineDeployment 자원은 CNI 배포를 통해 노드가 Ready 상태가 되어야만 AvailableReplicas 수를 업데이트해서 Health 상태로 전환됩니다. 하지만 ArgoCD가 모든 자원이 Health 상태가 아니라면 설치가 완료되지 않고 계속 기다리는 상황이 발생하고 이후 단계 (CNI 설치를 포함한)가 진행되지 않기 때문에 이를 우회하기 위한 커스텀 헬스 체크 부분 (spec과 status replicas 숫자를 비교)을 추가합니다.

@zugwan zugwan requested a review from ktkfree October 17, 2023 02:51
@ktkfree ktkfree merged commit a5fdda9 into main Oct 17, 2023
1 check passed
@ktkfree ktkfree deleted the argocd_add_custom_health_for_capi_md branch October 17, 2023 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants