snauwcounter/k8s/service.yaml
Michael Trip b56e866071
All checks were successful
Build and Push Image / build-and-push (push) Successful in 1m26s
initial commit
2026-01-09 21:58:53 +01:00

23 lines
527 B
YAML

apiVersion: v1
kind: Service
metadata:
name: snauw-counter
namespace: snauw-counter
labels:
app.kubernetes.io/name: snauw-counter
app.kubernetes.io/component: web
app.kubernetes.io/part-of: snauw-counter
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "5000"
prometheus.io/path: "/metrics"
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: snauw-counter
app.kubernetes.io/component: web