Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify minimumNodeCount for rook #4655

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions docs/arch/adr-009-storage-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ spec:
localPVStorageClassName: "local"
```

When `rook.minimumNodeCount` is unset or set to a value of 1, the Rook add-on will function as at does today, with a single storageclass - "distributed".
When the 'rook' section is present in the spec, the StorageClass "scaling" will be created.
When openebs section is present in the spec, the StorageClass "local" will be created.
The default storage class will be "scaling" when present and "local" if it isn't. Both storage classes will be backed by openebs localpv.

When set to a value of 2 or more (requires openebs localpv to be present), the rook operator will be installed on single node installs, but no ceph cluster will be created.
In the above configuration, two storageclasses will be available - "scaling" and "local".
The default storage class will be "scaling", and both storage classes will be backed by openebs localpv.

When the third node is added, a Ceph cluster will be created by the EKCO operator.
When that Ceph cluster becomes healthy (with at least 3 replicas), the "distributed" storageclass will be created using rook-ceph.
When the minimumNodeCount is reached, with no less than a value of 3, a Ceph cluster will be created by the EKCO operator.
When that Ceph cluster becomes healthy (with at least 3 replicas), the "distributed" StorageClass will be created using rook-ceph.
However, a migration will not begin until one of four things occurs:

1. The user joins the third(+) node to the cluster, and accepts a prompt to migrate storage
Expand Down