Website Summary Files Commits Branches @commit @diff @stats
path: root / kubernetes / service.yaml
diff options
context:
space:
mode:
1 files changed, 12 insertions, 0 deletions
-rw-r--r--kubernetes/service.yaml12
diff --git a/kubernetes/service.yaml b/kubernetes/service.yaml
new file mode 100644
index 0000000..178476a
--- /dev/null
+++ b/kubernetes/service.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: pico-web-server-service
+spec:
+ type: NodePort
+ selector:
+ app: pico-web-server-pod
+ ports:
+ - protocol: TCP
+ port: 8080
+ targetPort: 8080