You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ flowchart LR
117
117
SchemaReconciler["SuperGraph Composer Pod"]
118
118
119
119
SuperGraphSchema --> SchemaReconciler
120
-
SuperGraphSchema --> SuperGraph
120
+
SuperGraph --> SuperGraphSchema
121
121
Subgraph1 --> SuperGraphSchema
122
122
Subgraph2 --> SuperGraphSchema
123
123
Subgraph3 --> SuperGraphSchema
@@ -203,6 +203,21 @@ spec:
203
203
runAsUser: 65532
204
204
```
205
205
206
+
## Subgraph schema from other sources
207
+
Besides inline schemas a subgraph schema can also be fetched via http:
208
+
209
+
```yaml
210
+
apiVersion: apollo.infra.doodle.com/v1beta1
211
+
kind: SubGraph
212
+
metadata:
213
+
name: users
214
+
spec:
215
+
endpoint: http://user-server/graphql
216
+
schema:
217
+
http:
218
+
endpoint: http://user-server/graphql-schema
219
+
```
220
+
206
221
## Suspend/Resume reconciliation
207
222
208
223
All resources support suspending reconciliation.
@@ -227,6 +242,8 @@ Alternatively you may get the bundled manifests in each release to deploy it usi
227
242
The controller can be configured using cmd args:
228
243
```
229
244
--concurrent int The number of concurrent SuperGraph reconciles. (default 4)
245
+
--default-httpd-image string The default image which provides an http server to serve the directory /output. By default httpd (busybox) is used. (default "busybox:1")
246
+
--default-supergraph-image string The default rover cli image. (default "ghcr.io/doodlescheduling/supergraph:v0")
230
247
--enable-leader-election Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
231
248
--graceful-shutdown-timeout duration The duration given to the reconciler to finish before forcibly stopping. (default 10m0s)
232
249
--health-addr string The address the health endpoint binds to. (default ":9557")
0 commit comments