Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # v1 Service <code> apiVersion: v1 kind: Service metadata: name: demo labels: app: demo spec: # NOTE: depending on which version of the book you have, this may say port 9999. The latest version of the book uses 8888 to match the pod. ports: - port: 8888 protocol: TCP targetPort: 8888 selector: app: demo type: ClusterIP </code> selector는 서비스에 라우팅할 파드를 알려준다 [[디플로이먼트]]는 애플리케이션의 파드의 세트를 관리하고 [[서비스]]는 요청을 파드에 전달하는 단일 엔트리 포인트를 제공 open/v1-service.txt Last modified: 2024/10/05 06:15by 127.0.0.1