작성
·
301
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 작성
답변