Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

39.7.3.2. 경로가 올바릅니까?

ip route 를 사용하여 경로 테이블을 확인합니다.

# ip route
default via 192.168.122.1 dev ens3
10.128.0.0/14 dev tun0  proto kernel  scope link                        # This sends all pod traffic into OVS
10.128.2.0/23 dev tun0  proto kernel  scope link  src 10.128.2.1        # This is traffic going to local pods, overriding the above
169.254.0.0/16 dev ens3  scope link  metric 1002                        # This is for Zeroconf (may not be present)
172.17.0.0/16 dev docker0  proto kernel  scope link  src 172.17.42.1    # Docker's private IPs... used only by things directly configured by docker; not OpenShift
192.168.122.0/24 dev ens3  proto kernel  scope link  src 192.168.122.46 # The physical interface on the local subnet

Pod 네트워크가 구성의 기본 범위로 설정되어 있다고 가정하면 10.128.x.x 행이 표시되어야 합니다. 그렇지 않은 경우 OpenShift Container Platform 로그를 확인하십시오 ( 39.10절. “로그 읽기” 섹션 참조)