-
Notifications
You must be signed in to change notification settings - Fork 113
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
Migrate BareMetalHost and HardwareData API docs from BMO to user-guide #475
base: main
Are you sure you want to change the base?
Conversation
Hi @SafeEHA. Thanks for your PR. I'm waiting for a metal3-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
dcd2d63
to
b3c028a
Compare
/ok-to-test |
/cc @dtantsur |
a5d9ae3
to
51c0ec0
Compare
IMO this looks good. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Rozzii The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
We already have status annotation page, this creates second one. We also have BMH states already.
Also none of these pages are linked in the index, so they're not visible to readers.
Ohh you are right, @SafeEHA as @tuminoid mentioned we have these pages: https://book.metal3.io/bmo/inspect_annotation and https://book.metal3.io/bmo/status_annotation , if there is any extra info in the annotations.md then move it to the inspect and status annotation pages please otherwise you can just delete that from the BMO side. |
Thanks, @tuminoid, i noticed the status and inspect annotations already existing in the user-guide have slightly different content in comparison to the ones on BMO, the code block is yaml formatted on the user guide currently and json formatted on BMO, the descriptive content is also slightly different... should I go ahead to take out the new annotations file i created since it already exists? |
We should merge the documents so the user guide is as comprehensible as possible. |
One final concern, the annotation files on BMO (which is the files referenced in the issue) have different content with the files in user-guide currently, should i focus on merging the files in the user-guide only? its a bit confusing @tuminoid |
@Rozzii can you assist @SafeEHA which portions to keep and which take? |
Signed-off-by: Iury Gregory Melo Ferreira <[email protected]> Signed-off-by: SafeEHA <[email protected]>
51c0ec0
to
e99d3ad
Compare
Signed-off-by: SafeEHA <[email protected]>
Signed-off-by: SafeEHA <[email protected]>
Signed-off-by: SafeEHA <[email protected]>
Signed-off-by: SafeEHA <[email protected]>
20f7f96
to
7ad48f4
Compare
/hold I don't think the PR is in the right direction. First, the remaining API docs were not meant to get migrated from BMO. Second, while inspect and status annotations have some use case overlaps, they also have completely disjoint use cases. If we do decide to merge the pages, we need to add redirects to old pages so that existing links don't lead into nowhere. Finally, any missing API features we migrate here should be written from a case-based perspective. What am I trying to achieve? How do I do it? What are possible issues? |
|
||
To initiate deprovisioning, clear the image URL from the host spec. | ||
|
||
## Unmanaged Hosts |
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.
This is covered in the state machine docs (expand if needed)
guide](https://book.metal3.io/bmo/introduction) for information on how to | ||
manage hosts. | ||
|
||
## Triggering Provisioning |
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.
This is already covered in more details in the provisioning docs
state until the details are provided. Unmanaged hosts cannot be | ||
provisioned and their power state is undefined. | ||
|
||
## Pausing reconciliation |
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.
This deserves a separate page in the advanced features section
or check the source code at `apis/metal3.io/v1alpha1/hardwaredata_types.go` | ||
for a detailed API description. | ||
|
||
## PreprovisioningImage |
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.
This also deserves its own advanced page
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This PR fixes issue #314