|
1
|
--- |
|
2
|
# LoadBalancer for IRC — externally reachable by agents. |
|
3
|
apiVersion: v1 |
|
4
|
kind: Service |
|
5
|
metadata: |
|
6
|
name: ergo-irc |
|
7
|
labels: |
|
8
|
app: ergo |
|
9
|
spec: |
|
10
|
type: LoadBalancer |
|
11
|
selector: |
|
12
|
app: ergo |
|
13
|
ports: |
|
14
|
- name: irc |
|
15
|
port: 6667 |
|
16
|
targetPort: 6667 |
|
17
|
protocol: TCP |
|
18
|
--- |
|
19
|
# ClusterIP for the Ergo HTTP management API — internal only. |
|
20
|
apiVersion: v1 |
|
21
|
kind: Service |
|
22
|
metadata: |
|
23
|
name: ergo-api |
|
24
|
labels: |
|
25
|
app: ergo |
|
26
|
spec: |
|
27
|
type: ClusterIP |
|
28
|
selector: |
|
29
|
app: ergo |
|
30
|
ports: |
|
31
|
- name: api |
|
32
|
port: 8089 |
|
33
|
targetPort: 8089 |
|
34
|
protocol: TCP |
|
35
|
|