-
Notifications
You must be signed in to change notification settings - Fork 10
/
armada-crs.yaml
197 lines (197 loc) · 4.73 KB
/
armada-crs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
apiVersion: install.armadaproject.io/v1alpha1
kind: ArmadaServer
metadata:
name: armada-server
namespace: armada
spec:
pulsarInit: false
ingress:
ingressClass: "nginx"
replicas: 1
image:
repository: gresearch/armada-server
tag: latest
applicationConfig:
httpNodePort: 30001
grpcNodePort: 30002
schedulerApiConnection:
armadaUrl: "armada-scheduler.armada.svc.cluster.local:50051"
forceNoTls: true
corsAllowedOrigins:
- "http://localhost:3000"
- "http://localhost:8089"
- "http://localhost:10000"
- "http://localhost:30000"
auth:
anonymousAuth: true
permissionGroupMapping:
submit_any_jobs: ["everyone"]
create_queue: ["everyone"]
delete_queue: ["everyone"]
cancel_any_jobs: ["everyone"]
reprioritize_any_jobs: ["everyone"]
watch_all_events: ["everyone"]
eventsApiRedis:
addrs:
- redis-ha.data.svc.cluster.local:6379
postgres:
connection:
host: postgresql.data.svc.cluster.local
port: 5432
user: postgres
password: psw
dbname: lookout
sslmode: disable
queryapi:
postgres:
connection:
host: postgresql.data.svc.cluster.local
port: 5432
user: postgres
password: psw
dbname: lookout
sslmode: disable
pulsar:
URL: pulsar://pulsar-broker.data.svc.cluster.local:6650
redis:
addrs:
- redis-ha.data.svc.cluster.local:6379
---
apiVersion: install.armadaproject.io/v1alpha1
kind: Executor
metadata:
name: armada-executor
namespace: armada
spec:
image:
repository: gresearch/armada-executor
tag: latest
applicationConfig:
executorApiConnection:
armadaUrl: armada-scheduler.armada.svc.cluster.local:50051
forceNoTls: true
---
apiVersion: install.armadaproject.io/v1alpha1
kind: Lookout
metadata:
name: armada-lookout-v2
namespace: armada
spec:
replicas: 1
ingress:
ingressClass: "nginx"
image:
repository: gresearch/armada-lookout-v2
tag: latest
prometheus:
enabled: true
applicationConfig:
httpNodePort: 30000
# See https://github.com/armadaproject/armada/blob/master/config/lookoutv2/config.yaml
# for the full list of configuration options.
apiPort: 8080
corsAllowedOrigins:
- "http://localhost"
uiConfig:
armadaApiBaseUrl: "http://localhost:30001"
postgres:
connection:
host: postgresql.data.svc.cluster.local
port: 5432
user: postgres
password: psw
dbname: lookout
sslmode: disable
---
apiVersion: install.armadaproject.io/v1alpha1
kind: LookoutIngester
metadata:
name: armada-lookout-ingester-v2
namespace: armada
spec:
image:
repository: gresearch/armada-lookout-ingester-v2
tag: latest
applicationConfig:
postgres:
connection:
host: postgresql.data.svc.cluster.local
port: 5432
user: postgres
password: psw
dbname: lookout
sslmode: disable
pulsar:
URL: pulsar://pulsar-broker.data.svc.cluster.local:6650
---
apiVersion: install.armadaproject.io/v1alpha1
kind: Scheduler
metadata:
name: armada-scheduler
namespace: armada
spec:
replicas: 1
ingress:
ingressClass: "nginx"
image:
repository: gresearch/armada-scheduler
tag: latest
applicationConfig:
grpc:
port: 50051
auth:
anonymousAuth: true
permissionGroupMapping:
execute_jobs: ["everyone"]
armadaApi:
armadaUrl: armada-server.armada.svc.cluster.local:50051
forceNoTls: true
pulsar:
URL: pulsar://pulsar-broker.data.svc.cluster.local:6650
postgres:
connection:
host: postgresql.data.svc.cluster.local
port: 5432
user: postgres
password: psw
dbname: scheduler
sslmode: disable
---
apiVersion: install.armadaproject.io/v1alpha1
kind: SchedulerIngester
metadata:
name: armada-scheduler-ingester
namespace: armada
spec:
replicas: 1
image:
repository: gresearch/armada-scheduler-ingester
tag: latest
applicationConfig:
postgres:
connection:
host: postgresql.data.svc.cluster.local
port: 5432
user: postgres
password: psw
dbname: scheduler
sslmode: disable
pulsar:
URL: pulsar://pulsar-broker.data.svc.cluster.local:6650
---
apiVersion: install.armadaproject.io/v1alpha1
kind: EventIngester
metadata:
name: armada-event-ingester
namespace: armada
spec:
replicas: 1
image:
repository: gresearch/armada-event-ingester
tag: latest
applicationConfig:
pulsar:
URL: pulsar://pulsar-broker.data.svc.cluster.local:6650
redis:
addrs:
- redis-ha.data.svc.cluster.local:6379