fix: rollout 실패 시 진단 로그 추가 - #264
Merged
Merged
Conversation
pods/describe/logs/events를 실패 시에만 출력. exit code는 그대로라 실패를 숨기지 않음. Closes #263
2 tasks
Member
Author
진단 결과 및 최종 해결이 PR로 추가한 diagnostics 스텝 덕분에 원인 바로 확인됨: ``` readiness probe가 아니라 이미지 자체를 못 당겨오는 중이었음 ( 해결: GHCR org 정책( 재배포 후 검증: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
뭘 고쳤나
#262 머지 후 실제 배포 실행에서 bootstrap(namespace/deployment/ingress apply)은 성공했지만 rollout이 타임아웃남 (새 pod가 Ready로 안 올라옴). 클러스터에 직접 접근할 방법이 없어서 원인을 알 수가 없는 상황.
Rollout 실패 시(
if: failure())에만 pods/describe/logs/events를 찍는 진단 스텝 추가. exit code는 그대로 유지되므로 실패를 숨기지 않음 — #259에서 고친 원칙 유지.다음 단계
이 PR 머지 후 다음 배포 실행 로그로 실제 원인(아마 readinessProbe 실패 또는 컨테이너 크래시) 파악 예정.
Closes #263