From 8b316176fafdafbe4ee2ff723f03b185b7194560 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Tue, 24 Nov 2020 16:41:31 +0700 Subject: [PATCH] service for web-server pod --- web-server_service.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 web-server_service.yml diff --git a/web-server_service.yml b/web-server_service.yml new file mode 100644 index 0000000..4d9bf2f --- /dev/null +++ b/web-server_service.yml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: web-server +spec: + type: NodePort + ports: + - port: 80 + targetPort: 8080 + selector: + app: web-server \ No newline at end of file