-
Notifications
You must be signed in to change notification settings - Fork 21
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
Virt #150
Virt #150
Conversation
Working to enable kubevirt Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Creating function and testing the ssh mechanism Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
7be5c77
to
b0d40db
Compare
b445839
to
84cb58a
Compare
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
We may need to test different VM network "binding" types in the future, i.e. in spec.devices
masquerade could eventually be "bridge" and/or "passt" |
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.
Why don't you import kubevirt as dependency rather than including it in the repo?
It is not recommended to import it as a dependency. I attempted this at first but ran into significant issues. When I reached out to the CNV / Kubevirt community - they shared with me how they implemented this in their own csi-driver https://github.com/kubevirt/csi-driver/blob/main/pkg/kubevirt/client.go#L26 Others have ran into this problem too - https://groups.google.com/g/kubevirt-dev/c/vuuvW2E6Kow Recommended way is described here - https://github.com/kubevirt/api/?tab=readme-ov-file#how-to-use-it |
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
I have to try this out personally. But looks like there is a way to ssh into a VM without any ssh keys. If our cluster has VLAN support and have a VLAN created like this
We can create VM with the below configuration and ssh into it.
|
This is significantly more complex and not an option. The assumption of vlan creation isn't always true, where we can always inject a SSH key. |
Yeah on the bridge network type, that would allow direct L2 connectivity to the VM from the bastion, however VMs typically use linux bridge not macvlan, which requires an nncp on a secondary interface (i.e. can't be shared w/ the OVN port), and that changes which network type we measure against. |
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
Trying to future proof things here -- will this be the
|
@jtaleric I think its |
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.
lgtm
Need to add virt to the results until we get this captured in go-commons. |
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
needed for BM ES Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
We don't select based on any of these node labels, no need to send them, and they were causing issues (since we had > 1000 fields thanks to CNV). Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
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.
lgtm
Signed-off-by: Joe Talerico aka rook <joe.talerico@gmail.com>
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.
lgtm
Type of change
Description
Adding support for Virtual Machines Instances (VMI).
This integration will create a svc + route to communicate with the Virtual Machine.
The workflow is :
netserver
)Future - We could look to generate our own VM Image with our packages pre-loaded, so the install timing mess can be avoided.
Related Tickets & Documents
Checklist before requesting a review
Testing