infrastructure/k8s/roles/agola/templates/all-internal-svc.yml.j2

22 lines
469 B
Text
Raw Normal View History

2022-09-11 16:49:31 +00:00
---
# The service for internal components communication.
# We are using an headless service since some k8s deployment doesn't have
# hairpin mode enabled and pods cannot communicate with themself via a
# service
apiVersion: v1
kind: Service
metadata:
name: agola-internal
spec:
ports:
- port: 8000
name: api
- port: 4000
name: runservice
- port: 4002
name: configstore
- port: 4003
name: gitserver
selector:
app: agola