22 lines
469 B
Text
22 lines
469 B
Text
|
---
|
||
|
# 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
|