[NKS] ALB 서비스 외부 노출하기
2022. 9. 26. 15:08
엔지니어링/NCP
NKS를 구축한 뒤 서비스를 외부에 노출시키려면 ALB(Application Load Balancer)를 통해 쉽게 할 수 있다. 필자는 일단 tomcat pod 를 올리고 아주 간단한 service를 등록해주었다. apiVersion: v1 kind: Service metadata: name: my-tomcat-svc spec: type: NodePort selector: app: my-tomcat ports: - port: 80 targetPort: 8080 ALB Ingress Controller 설치 kubernetes 1.19 버전 이상(한국) kubectl apply -f https://raw.githubusercontent.com/NaverCloudPlatform/nks-alb-ingress..