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

proposed Inspection and Provisioning diagram #354

Closed
wants to merge 1 commit into from

Conversation

wrkode
Copy link

@wrkode wrkode commented Sep 7, 2023

This PR addresses issue #258
Please understand that I'm not (yet) strong with Metal3, but would something like the be technically correct?

@metal3-io-bot metal3-io-bot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 7, 2023
@wrkode wrkode changed the title proposed diagram proposed Inspection and Provisioning diagram Sep 7, 2023
@wrkode
Copy link
Author

wrkode commented Sep 8, 2023

@Rozzii could you please review the diagram for technical correctness?

@Rozzii
Copy link
Member

Rozzii commented Sep 8, 2023

Thanks for the contribution @wrkode I will check this soon.

@wrkode
Copy link
Author

wrkode commented Sep 11, 2023

Thanks for the contribution @wrkode I will check this soon.

@Rozzii did you get a chance to look into it? I'm trying to understand if is technically correct. If correct. I'll propose a better visual and a diagram-as-code option.

@Rozzii
Copy link
Member

Rozzii commented Sep 11, 2023

@wrkode thanks for creating this nice diagram, a few nits:

  • Please highlight that the machine object comes from CAPI and that between the Machine and the BMH there is a Metal3Machine object.
  • You have mentioned how the inspections is initiated so I would suggest mentioning how the provisioning is initiated (it starts when the image field gets populated)
  • There is a typo in the "Start Provisioning" block "etal3" instead of "Metal3"
  • If you used draw.io or some other code->image generator please attach the source code also.
  • At some point the community has agreed that we would use draw.io but I think that decision was not documented.
    cc @lentzi90 @mboukhalfa @kashifest

Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!
To keep things simple, I would advice to focus on just the Baremetal Operator level and the BareMetalHost resource for this diagram and not attempt to include Machines or Metal3Machines. Keeping that in mind, I would change the provisioning section so that the first two boxes are merged into one. There I would put something like

Image information
The spec.image field is filled with information about the desired provisioned state to start the provisioning process. This can be done by the user directly, or a controller such as CAPM3.

In the Store Data box it may be worth mentioning the HardwareData CRD, I'm not sure.

@Rozzii
Copy link
Member

Rozzii commented Sep 11, 2023

Thanks for working on this! To keep things simple, I would advice to focus on just the Baremetal Operator level and the BareMetalHost resource for this diagram and not attempt to include Machines or Metal3Machines. Keeping that in mind, I would change the provisioning section so that the first two boxes are merged into one. There I would put something like

Image information
The spec.image field is filled with information about the desired provisioned state to start the provisioning process. This can be done by the user directly, or a controller such as CAPM3.

In the Store Data box it may be worth mentioning the HardwareData CRD, I'm not sure.

I can get behind this also, then let's skip mentioning Metal3Machine and Machine objects.

@Rozzii
Copy link
Member

Rozzii commented Sep 11, 2023

/ok-to-test

@metal3-io-bot metal3-io-bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 11, 2023
@metal3-io metal3-io deleted a comment from metal3-io-bot Sep 11, 2023
@metal3-io metal3-io deleted a comment from metal3-io-bot Sep 11, 2023
@kashifest
Copy link
Member

Thanks for working on this! To keep things simple, I would advice to focus on just the Baremetal Operator level and the BareMetalHost resource for this diagram and not attempt to include Machines or Metal3Machines. Keeping that in mind, I would change the provisioning section so that the first two boxes are merged into one. There I would put something like

Image information
The spec.image field is filled with information about the desired provisioned state to start the provisioning process. This can be done by the user directly, or a controller such as CAPM3.

In the Store Data box it may be worth mentioning the HardwareData CRD, I'm not sure.

+1

@wrkode
Copy link
Author

wrkode commented Sep 11, 2023

I'll have an updated version soon. thanks for the feedback folks.
for this I've use Excalidraw, but I want to use draw-io, so that I can share code.
expect a new version soon.

@dtantsur
Copy link
Member

The diagram is mostly correct (I don't think inspection depends on the online field; there is a typo in metal3), but I'm curious what the purpose of it is. It's not linked in any document, and we probably have documents explaining the similar thing.

@wrkode
Copy link
Author

wrkode commented Sep 19, 2023

The diagram is mostly correct (I don't think inspection depends on the online field; there is a typo in metal3), but I'm curious what the purpose of it is. It's not linked in any document, and we probably have documents explaining the similar thing.

@dtantsur, I was working against #258, but if you and team find this no more relevant, I can stop and close the PR. please do let me know though.

@Rozzii
Copy link
Member

Rozzii commented Sep 19, 2023

The diagram is mostly correct (I don't think inspection depends on the online field; there is a typo in metal3), but I'm curious what the purpose of it is. It's not linked in any document, and we probably have documents explaining the similar thing.

@dtantsur, I was working against #258, but if you and team find this no more relevant, I can stop and close the PR. please do let me know though.

@dtantsur @wrkode I think the original idea was to have Metal3 specific diagrams, I agree that it has to be part of the user-guide.

@metal3-io-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues will close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@metal3-io-bot metal3-io-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 18, 2023
@Rozzii
Copy link
Member

Rozzii commented Dec 19, 2023

@wrkode are you still interested to finish this?

@metal3-io-bot
Copy link
Contributor

Stale issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle stale.

/close

@metal3-io-bot
Copy link
Contributor

@metal3-io-bot: Closed this PR.

In response to this:

Stale issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle stale.

/close

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants