NodePort 서비스 생성1 [따배쿠CKA]15. NodePort 서비스 생성 * Node Port 란? :외부의 enduser가 접속할 수 있도록 workernode에 포트를 열어주는 역할 : nodePort 없이는 외부에서 접속할 수 없음 set configuration context $ kubectl config use-context k8s create the service as type NodePort with the port 32767 for the nginx pod with the pod selector app:webui : 서비스를 만들어서 NodePort : 32767 로 지정하고, nginx 이미지, selector 은 app:webui 1. app:webui 로 실행되고 있는 라벨이 있는지 확인 k get pod --selector app=webui k get p.. 2022. 8. 11. 이전 1 다음