ingress

aeokseung·2023년 2월 2일
0

kubernetes

목록 보기
1/9

예제) test.com:30500/hnginx 접속시 hnginx로 접속, test.com:30500/ipnginx 접속시 ipnginx로 접속 되도록 ingress를 구성!

root@master-pcm:~/ingress#에 있는 deploy.yaml의 Port를 첫번째는 30500, 두번째는 30501로 바꾼다

root@master-pcm:~/test/ingress#에 있는 ingress.yaml에서 host, path, name을 예제의 내용으로 바꾸기

아주 간략한 개념 설명

아이피 주소를 확인하려면?

아래 경로 입력해주면?

여기로 이동!

저기서 내 아이피주소를 적은 후 예제의 주소로(test.com) 바꾸기


바꾼 내용을 적용시켜주기

실행 완료시 나오는 장면

profile
https://aeokseung.tistory.com/ 티스토리로 옮겼습니다!

1개의 댓글

comment-user-thumbnail
2023년 2월 2일

디엠 확인부탁드려요^^!

답글 달기