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