Skip to content

Commit

Permalink
Add ceph object store
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythoner6 committed Dec 30, 2023
1 parent fd24b65 commit ee26d72
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions k8s/rook/rook.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"pythoner6.dev/c8s"
helmrelease "helm.toolkit.fluxcd.io/helmrelease/v2beta2"
clusters "ceph.rook.io/cephcluster/v1"
objectstores "ceph.rook.io/cephobjectstore/v1"
)

appName: "rook"
Expand Down Expand Up @@ -85,6 +86,23 @@ kustomizations: cluster: "manifest": {
disruptionManagement: managePodBudgets: true
}
}
objectstore: objectstores.#CephObjectStore & {
spec: {
metadataPool: {
failureDomain: "host"
replicated: size: 3
}
dataPool: {
failureDomain: "host"
replicated: size: 3
}
preservePoolsOnDelete: false
gateway: {
port: 80
instances: 1
}
}
}
}

//kustomizations: objectstore: #dependsOn: [kustomizations.helm]
Expand Down

0 comments on commit ee26d72

Please sign in to comment.