aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/default/site/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/namespaces/default/site/service.yaml')
-rw-r--r--kubernetes/namespaces/default/site/service.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/namespaces/default/site/service.yaml b/kubernetes/namespaces/default/site/service.yaml
new file mode 100644
index 0000000..4f06394
--- /dev/null
+++ b/kubernetes/namespaces/default/site/service.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: site
+ annotations:
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "8000"
+spec:
+ selector:
+ app: site
+ ports:
+ - protocol: TCP
+ port: 80
+ targetPort: 8000