Gitea/manifests/service.yaml
Tanguy Herbron 1830d126a5 feat(metrics): Add metric scraping
Add ServiceMonitor resource to scrape /metrics endpoint.
Said endpoint cannot be scrapped from outside of the cluster, as a special IngressRoute Middleware prevents the exposition of said endpoint.
2023-07-06 13:49:33 +02:00

16 lines
269 B
YAML

apiVersion: v1
kind: Service
metadata:
name: gitea-svc
namespace: gitea
labels:
app.kubernetes.io/name: gitea
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 3000
selector:
app: gitea