[Istio]헬름 차트 배포 후 Istiod Pod에서 "webhook is not ready, retry controller=validation" 에러 해결 방법

2025. 7. 19. 21:42·DevOps
반응형

 

배경 상황

istio를 Helm으로 배포했는데 istio ingressgateway Pod에서 다음과 같은 에러가 발생하면서 제대로 동작을 하지 않았다.

Error creating: Internal error occurred: failed calling webhook "object.sidecar-injector.istio.io": failed to call webhook: Post "<https://istiod.istio-system.svc:443/inject?timeout=10s>": context deadline exceeded

 

 

문제를 추적하다보니 istiod Pod에서도 다음과 같은 에러가 발생하고 있었다.

error   controllers     error handling istiod-default-validator, retrying (retry count: ): webhook is not ready, retry controller=validation

 

해결 방법

처음에는 ingressgateway pod에서 context deadline exceeded가 발생해서 노드끼리의 보안 그룹 문제인가 했는데 아니었고, validatingwebhookconfigurations CRD가 뭔가 잘못 설정 되었나 했는데 그것도 아니었다.

 

 

먼저 웹훅 설정(ValidatingWebhookConfiguration CR의 매니페스트)을 살펴보면 다음과 같이 istiod 서비스의 443 포트를 요청 하도록 구성되어있다.

webhooks:
  - admissionReviewVersions:
      - v1
    clientConfig:
      caBundle: 
      service:
        name: istiod
        namespace: istio-system
        path: /validate
        port: 443

 

 

그리고 istiod 서비스 매니페스트를 확인하면 port 443로 요청이 들어올 경우 15017 포트로 포워딩하도록 구성 되어있다.

    - name: https-webhook
      port: 443
      protocol: TCP
      targetPort: 15017

 

 

따라서 Kubernetes API 서버가 웹훅 validate 요청을 할 수 있도록 node security group에 다음과 같이 inbound 허용 룰을 추가해주어야 한다.

  • 소스: kube-apiserver (또는 Control Plane 보안 그룹)
  • 포트: 15017/TCP

 

저작자표시 비영리 동일조건 (새창열림)

'DevOps' 카테고리의 다른 글

[AWS]AI 학습용 크롤러 봇 리스트 및 WAF를 활용한 차단 방법(GPTBot, Meta, ClaudeBot, PerplexityBot , Google-Extended등)  (3) 2025.07.22
[Teleport]Proxy Pod가 NLB에서 Health check Failed 되는 이슈 해결 방법  (1) 2025.07.20
[cert-manager]error instantiating route53 challenge solver: unable to construct route53 provider: empty credentials; perhaps you meant to enable ambient credentials?" 에러 해결 방법  (1) 2025.07.12
[AWS]DMS로 스테이징 환경 DB 구성하기(Aurora MySQL)  (2) 2025.06.10
[ArgoCD]Cross Account EKS Cluster 연동 방법(Declarative Setup)  (5) 2025.05.31
'DevOps' 카테고리의 다른 글
  • [AWS]AI 학습용 크롤러 봇 리스트 및 WAF를 활용한 차단 방법(GPTBot, Meta, ClaudeBot, PerplexityBot , Google-Extended등)
  • [Teleport]Proxy Pod가 NLB에서 Health check Failed 되는 이슈 해결 방법
  • [cert-manager]error instantiating route53 challenge solver: unable to construct route53 provider: empty credentials; perhaps you meant to enable ambient credentials?" 에러 해결 방법
  • [AWS]DMS로 스테이징 환경 DB 구성하기(Aurora MySQL)
Canary_카나리아
Canary_카나리아
어쩌다 데브옵스 엔지니어가 된 문과생의 기록용 블로그
    반응형
  • Canary_카나리아
    release: canary
    Canary_카나리아
  • 전체
    오늘
    어제
    • 분류 전체보기 (120)
      • DevOps (67)
      • Programming (28)
      • Certifications (3)
      • ETC (20)
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    프로메테우스
    백엔드스쿨
    NCPprofessional자격증
    클라우드엔지니어자격증
    Grafana
    Java
    argocd
    개발자
    제로베이스
    그라파나
    terraform
    한빛출판네트워크
    백엔드공부
    kops란
    자바개념
    네이버클라우드서비스
    java개념
    spring
    NCPassociate자격증
    NCP자격증
    네이버클라우드자격증
    백엔드개발
    데브옵스엔지니어
    백엔드
    kops사용법
    Prometheus
    ncp서비스
    프로메테우스예제
    그라파나예제
    클라우드자격증
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.2
Canary_카나리아
[Istio]헬름 차트 배포 후 Istiod Pod에서 "webhook is not ready, retry controller=validation" 에러 해결 방법
상단으로

티스토리툴바