aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/web/site/service.yaml
blob: f30eccb5683e08141caa0c1e85d4755b24482cf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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