k8s Troubleshooting

    [CKA독학] 트러블 슈팅 - Application Failure

    Application Failure Pod 상태가 running으로 이상이 없지만 Application이 잘동작하지 않는 경우는 아래와 같이 구분할 수 있습니다. case Service 이슈 port 설정 이슈 (port/targetport/nodeport) selector 설정 이슈 Pod/Deployment 이슈 pod/Deployment의 컨테이너 환경변수 이슈 Service 설정 이슈 svc 의 port또는 targetport가 잘못 설정 되어있는 경우 모든 리소스 확인 kubectl get all -n pod가 이상없이 잘 동작하고 있다면,서비스의 설정 확인 (port/targetport) kubectl describe svc -n 이상 발견 : 서비스의 (port/tagetport) 정보를 알..