aboutsummaryrefslogtreecommitdiff
path: root/apps/hello-world/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'apps/hello-world/service.yaml')
-rw-r--r--apps/hello-world/service.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/hello-world/service.yaml b/apps/hello-world/service.yaml
new file mode 100644
index 0000000..c93f494
--- /dev/null
+++ b/apps/hello-world/service.yaml
@@ -0,0 +1,14 @@
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: hello-world
+ namespace: hello-world
+spec:
+ selector:
+ app: hello-world
+ ports:
+ - port: 80
+ targetPort: 80
+ type: ClusterIP
+...