-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: add guide docs for rookify #688
base: main
Are you sure you want to change the base?
Conversation
boekhorstb1
commented
Sep 25, 2024
•
edited
Loading
edited
- adding docs for rookify: deploy, config and operation guides
67dc1d5
to
9cb354c
Compare
1c12f7d
to
873a72f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some smaller wording/grammar issues.
89019c3
to
c757e79
Compare
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Co-authored-by: b1-lender <lender@b1-systems.de> Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Co-authored-by: b1-lender <lender@b1-systems.de> Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Co-authored-by: b1-lender <lender@b1-systems.de> Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Co-authored-by: b1-lender <lender@b1-systems.de> Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Co-authored-by: b1-lender <lender@b1-systems.de> Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Co-authored-by: b1-lender <lender@b1-systems.de> Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
Signed-off-by: Boekhorst <boekhorst@b1-systems.de>
c625bd3
to
542c100
Compare
:::warning | ||
|
||
Rookify is developed to migrate from Ceph-Ansible to Rook _in place_ and _without downtime_. | ||
Nevertheless, it is **strongly advised** to test Rookify in a controlled environment first, such as the [OSISM testbed](https://github.com/osism/testbed). Addition ure that precautionary backups are made, and all other necessary safety measures are in place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Additionally ensure that ... are made and all ...
|
||
## Config.yaml | ||
|
||
The primary configuration file for Rookify is `config.yaml`. The repository includes an example file for general use, as well as one specifically tailored for the OSISM testbed setup: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively:
... tailored for OSISM based setups:
As far as I know OSISM's Rook based Ceph installation has settled on the same labels as configured in the example mentioned.
machine_pickle_file: data.pickle | ||
``` | ||
|
||
The `general` section allows for the optional definition of a pickle file, which saves the state of the migration as serialized objects on disk. The pickle filed can be named as desired. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: The pickle file can be ...
:::warning | ||
|
||
Rookify is developed to migrate from Ceph-Ansible to Rook _in place_ and _without downtime_. | ||
Nevertheless, it is **strongly advised** to test Rookify in a controlled environment first, such as the [OSISM testbed](https://github.com/osism/testbed). Additionally, ensure that precautionary backups are made, and all other necessary safety measures are in place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Additionally ensure that ... are made and all ...
|
||
- A functioning Ceph cluster deployed using traditional methods. | ||
- Access to a Kubernetes cluster with sufficient resources to host the migrated Ceph cluster. | ||
- Kubernetes nodes must be deployed on at least the OSD nodes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Monitor and OSD daemons should stay in place. Former to ensure that the Ceph endpoints do not change during migration, the later ones to have access to the underlying hardware.
:::warning | ||
|
||
Rookify is developed to migrate from Ceph-Ansible to Rook _in place_ and _without downtime_. | ||
Nevertheless, it is **strongly advised** to test Rookify in a controlled environment first, such as the [OSISM testbed](https://github.com/osism/testbed). Additionally, ensure that precautionary backups are made, and all other necessary safety measures are in place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Additionally ensure that ... are made and all ...
machine_pickle_file: data.pickle | ||
``` | ||
|
||
You can then view the migration progress by running `rookify --show-state`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's rookify --show-states
at the time of writing :)
|
||
Run `rookify --help` to view the various CLI options available. | ||
|
||
### --show |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's still --show-states
here as well ;)
|
||
Rookify's `preflight-mode` allows you to verify that basic commands and connections to the target systems are functioning correctly. Running `--dry-run` mode ensures no migration processes are executed. | ||
|
||
### --help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like mentioning the --help
parameter. As we currently do not mention --migrate
it ensures users check for it manually. On the other hand we might want to add --migrate
as well as the opposite of --dry-run
?
:::warning | ||
|
||
Rookify is developed to migrate from Ceph-Ansible to Rook _in place_ and _without downtime_. | ||
Nevertheless, it is **strongly advised** to test Rookify in a controlled environment first, such as the [OSISM testbed](https://github.com/osism/testbed). Additionally, ensure that precautionary backups are made, and all other necessary safety measures are in place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Additionally ensure that ... are made and all ...