-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Rook Ceph with local partition possible? #505
Comments
The post create commands are executed during Cloud Init. Perhaps changing the partition layout during that process isn't supported by Cloud Init. |
Parts of Perplexity.ai's answer to that question might me wrong, but the source of https://askubuntu.com/questions/1019772/how-to-setup-partitions-on-my-boot-disk-with-cloud-config describes a way that seems to have worked already. Lets try.. The rest of AIs answer(citate): To change the partition layout during the cloud-init process on Ubuntu or Debian, you need to carefully configure the cloud-config file to specify the desired partitioning and filesystem setup. Here’s a step-by-step guide based on the provided sources: text
Key Points
Important Considerations
By using this configuration, you can achieve the desired partition layout during the initial boot process managed by cloud-init. |
try or is the above useless? |
I have no idea. I haven't tested with custom partition layouts so far. |
It is working. Just add some things to the templates/cloud-init.yaml and recompile with --static. After these Changes, only 50% of master and worker SSDs are formatted and used for the cluster. The other 50% can be used for e.g. rook-ceph or other storage providers. I would want to make it configurable and offer a PR, but I am not sure, whats the best way AND I dont know yet, how autoscaler behaves. So, ideas welcome.
|
Hi,
are there any already known reasons, why it should not work to use the post_create_commands and:
shrink the existing partition to some useful value that leaves enough space for rook ceph and provision it on the local empty space?
I personally need readwritemany storage and a soulution for this as high available as possible.
Thoughts welcome. I could try after vacation and share a working config afterward.
Wanted feature?
Cheers
Timo
The text was updated successfully, but these errors were encountered: