• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

연습문제 관련하여 dns 동작 확인은 어떻게...

21.01.04 00:54 작성 조회수 116

1

안녕하세요

연습문제 관련하여 동일하게 정책을 적용하였으나,

v1에서 v3로 curl 시도시 정상적으로 조회가 되는 경우가 종종 발생을 합니다. 

관련하여 왜 허용이 되었는지, 혹은 차단은 어떻게 되었는지 로그로는 어떻게 확인할 수가 있을까요?

server1@master:~/yaml$ k exec -it http-go-v1 -- curl http://http-go-v3

Defaulting container name to http-go.

Use 'kubectl describe pod/http-go-v1 -n default' to see all of the containers in this pod.

^Ccommand terminated with exit code 130

server1@master:~/yaml$ k exec -it http-go-v1 -- curl http://http-go-v2

Defaulting container name to http-go.

Use 'kubectl describe pod/http-go-v1 -n default' to see all of the containers in this pod.

^Ccommand terminated with exit code 130

server1@master:~/yaml$ k exec -it http-go-v1 -- curl http://http-go-v3

Defaulting container name to http-go.

Use 'kubectl describe pod/http-go-v1 -n default' to see all of the containers in this pod.

Welcome! v3

server1@master:~/yaml$ 

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!