OKE 노드 장애로 인한 Redis 접속 불가 이슈 해결
·
Infra(aws, oci)
최근 OKE(Oracle Kubernetes Engine) 환경에서 서버 접속이 되지 않는 문제가 발생했다.Jenkins에서 배포된 애플리케이션이 모두 다운된 상태였고, 로그를 확인하니 Redis 연결 오류가 반복되고 있었다.1. 장애 증상서버 애플리케이션이 Redis 연결을 시도하다가 계속 실패하는 로그가 출력됐다.org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to RedisKubernetes Pod 상태를 확인해보니, Redis Pod 자체가 존재하지 않았다.kubectl get pods -n redis# No resources found in redis namespace2. 원인 파악Redis Pod..