kubectl run --rm -it(2)
-
K8s image 내용 확인
실행했을 때, 오류가 나는 image는 아래 명령어를 통해서 원본이 어떠한지 확인해보면 좋음kubectl run --rm -it test-{image} --image={image}:{tag} -- bash
2025.02.08 -
K8s Exit Code: 127
에러 State: Terminated Reason: Error Exit Code: 127원인: image binary가 깨지거나 실행명령이 중지되었을 때 발생image 정상 확인: 명령이 잘 실행되면, binary가 깨지지도, 실행명령에 문제가 없음kubectl run --rm -it test-metricbeat --image=docker.elastic.co/beats/metricbeat:8.16.3 -- bash# 명령 실행metricbeat versionEntryPoint 및 Commands 확인# Commnad 및 Args 존재하는지 확인: 없으면 default entrypoint 체크kubectl describe pod metricbeat-5..
2025.02.08