21 lines
469 B
Django/Jinja
21 lines
469 B
Django/Jinja
---
|
|
# 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
|