인프런 커뮤니티 질문&답변
Nginx 및 Ingress yaml 작성에 대해 못찾는 분들을 위해 남깁니다.
작성
·
354
1
[nginx ingress install]
- nginx 다운로드
git clone https://github.com/kubernetes/ingress-nginx/
- nginx 배포
kubectl apply -k `pwd`/ingress-nginx/deploy/static/provider/baremetal
- 배포 확인
kubectl get all -n ingress-nginx
[예제 deploy]
- Deploy pod 배포
kubectl create deployment http-go --image=gasbugs/http-go:ingress
- service 생성
kubectl expose deploy http-go --port=80 --target-port=8080
[Ingress rule]
- Ingress Rule 작성

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





