-
Notifications
You must be signed in to change notification settings - Fork 32
synaxg plugin dev #332
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
base: main
Are you sure you want to change the base?
synaxg plugin dev #332
Conversation
|
Hi @einsteinXue. Thanks for your PR. I'm waiting for a openshift 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. DetailsInstructions 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. |
|
The CR has two fields From the meaning and the usage of those fields, this sounds imperative (like: user sets the flag, and then an action should happen). Unlike describing the end state we want to reach. For For Maybe what I said is not that different from what is implemented (at least for |
I agree. This is how the Bare Metal Operator does this: Do you see something wrong with this approach? |
|
@einsteinXue Is this tested to be working in your setup? |
e038c1c to
f962c6d
Compare
not tested yet. What I would like to confirm is whether the current implementation is feasible. |
Thanks for the comments, I will consider about your comments |
|
Let me read this. Thank you! |
I agree, if the users wants to bring the system into a state where the firmware is upgraded, then he should just specify the desired state, and the upgrade should then happen as part of a reconciliation.
We considered using a job for this, although we ended up with something that looks like what is implemented in this PR. I see how this looks like a job, although I don't see how that would be easy to create. I prefer to have a ManualRebootRequested field that the user sets to true and then we reconcile it back to false by doing the reboot just like it's done here: 5a05067#diff-10032ffdd17d4bb235e7916d1a7ce1514ffea6d6a0bbc19b27e580cca4ee54f2R55 @thom311 ^ @einsteinXue : In general, I agree with what you're proposing here, although these fields will move to another CR which are added by another PR. That PR is current blocked by other PRs so we will have to wait, although some of the changes in the current PR are sound and it's going to be a matter of rebasing and moving the fields into the CR that will be introduced. |
This is under developing. Thanks for @wizhaoredhat 's suggestion, I have already successfully pulled the desired version of firmware to be upgraded from quay.io.
OK, please notify me if the dependent PR is merged. I will do the rebase things. @thom311 or @bn222 Could you please share some info about how to create VFs within dpu-operator? As you can see in this PR, we are using gRPC to transmit SDK package to dpu, and gRPC relies on VFs. |
|
Currently, it is hardcoded to a predefined number of VFs. Once we have the DpuConfig CR added, the users will be able to change the number. |
@bn222 Hi Balazs, How about this dependent PR? Was it already merged? Can I start to rebase my SynaXG plugin related code? |
|
Hi @synaxgcom, we are very close to getting it merged. All the preparatory work has been finished. We are going to merge continue work on DPU CRs next sprint and merge it. I recommend you start with rebasing today, because the final piece will not add muchuch from what's here today. |
f962c6d to
eb65b23
Compare
|
Rebase on top of #574 Add a reboot requested field in that struct and reconcile it |
OK, will do. Thanks! |
eb65b23 to
a1e49e3
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: einsteinXue The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This PR is only for code review. makefile not modified yet