• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

ingress rule이 적용이 안되요

22.02.19 00:38 작성 조회수 123

0

yaml 상에 문제가 없어 보입니다만
강사님과 결과가 반대로 나와요.
 
root@http-go-84df7cf8df-8hm9g:/usr/src/app# curl 127.0.0.1:8080 Welcome! http-go-84df7cf8df-8hm9g root@http-go-84df7cf8df-8hm9g:/usr/src/app# curl 127.0.0.1:8080/welcome/test 404 page not found
 
user01@master0:~/yaml$ curl 127.0.0.1:30914 <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html> user01@master0:~/yaml$ curl 127.0.0.1:30914/welcome/test 404 page not found
 
 

답변 1

답변을 작성해보세요.

0

gasbugs님의 프로필

gasbugs

2022.02.21

안녕하세요

현재 접속하신 곳이 http-go 컨테이너 내로 보입니다.

여기서 접속하실 때도 welcome/test 페이지가 접속되셔야 하는데 접속이 안되는 것 같습니다.

컨테이너에 사용하신 이미지 이름을 확인해보시면 좋겠습니다.

gasbugs/http-go:ingress 이미지여야 합니다.

감사합니다!