-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevstack.yaml
More file actions
53 lines (52 loc) · 1.51 KB
/
Copy pathdevstack.yaml
File metadata and controls
53 lines (52 loc) · 1.51 KB
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
# FUSE engine (open-source-cloud/fuse) — devstack project config.
# Source of truth lives in the workspace at config/core.devstack.yaml and is
# copied to core/devstack.yaml by scripts/setup.sh (core/ is git-ignored here).
#
# ds up → single-node engine on http://localhost:9090
# ds up -p ha → also starts the 3-node HA cluster (etcd discovery)
apiVersion: devstack/v1
kind: Project
name: core
services:
# Default single-node engine: Postgres + S3, clustering off. Everyday target.
engine:
template: fuse-engine
ports:
http: 9090
uses:
- workspace.shared.postgres
- workspace.shared.minio
# ── HA cluster (profile: ha) — 3 nodes with etcd discovery on shared infra ──
engine-ha-1:
template: fuse-engine
uses:
- workspace.shared.postgres
- workspace.shared.minio
- workspace.shared.etcd
params:
hostPort: "9091"
clusterEnabled: "true"
haEnabled: "true"
haNodeId: "fuse-ha-node-1"
engine-ha-2:
template: fuse-engine
uses:
- workspace.shared.postgres
- workspace.shared.minio
- workspace.shared.etcd
params:
hostPort: "9092"
clusterEnabled: "true"
haEnabled: "true"
haNodeId: "fuse-ha-node-2"
engine-ha-3:
template: fuse-engine
uses:
- workspace.shared.postgres
- workspace.shared.minio
- workspace.shared.etcd
params:
hostPort: "9093"
clusterEnabled: "true"
haEnabled: "true"
haNodeId: "fuse-ha-node-3"