Open legalgig opened 4 months ago
any update ?
seeing the same issue.
@orenc1 can you shade some light here?
I think @upalatucci has some experience with deploying an openshift console and a plugin on a kubernetes (kind?) cluster.
I have one question, it's not supported with native kubernetes? We're not using okd and just using native k8s and kubevirt.
@upalatucci Could you share an idea for native k8s ?
Hei @qkfrksvl we use the ConfigMap to override the nginx configuration.
You can find the oc-manifest.yaml
file in the root directory where we define what we need to install the plugin (with the openshift template format ).
One thing that can be a problem for the deployment is the cert that we use plugin-serving-cert
. those certs in openshift are automatically managed but not in k8s
@qkfrksvl @legalgig One issue can be that we are using Projects
to list everything and not Namespaces
. Native k8s do not have Projects
.
Can you share the errors that you see in the browser console?
@upalatucci sorry for late.
when I'm trying to open VirtualMachine menu, it was stuck with blank page. console logs shows below two messages.
unhandled promise rejection: r: namespaces "openshift-cnv" not found r: namespaces "openshift-cnv" not found
hey guys i created a pr: https://github.com/kubevirt-ui/kubevirt-plugin/pull/2227
wow it seems work well, big thanks @upalatucci
Yes this is great! The plugin now works for "VirtualMachines". Although if clicking into any VM, its 'Events' and 'Console' tabs are not working for me.
@qkfrksvl : Are they working for you?
I'm trying to figure out how to deploy this plugin to Kubernetes cluster (K3s). I've already had deployed OKD-Console and it's working fine by itself. I tried to deploy kubevirt plugin using the Container image from quay but all it returns is 404, after a little troubleshooting I figured out that the Dockerfile copies the html files to wrong direction, nginx expects them in
/opt/app-root/src
but Dockerfile copies it to/usr/share/nginx/html
. After copying the files from/usr/share/nginx/html
to/opt/app-root/src
the Virtualization dropdown shows up on the OKD-Console and it semi-works.After testing a little I found out:
Here are my deployment files for both okd-console and kubevirt-plugin kubevirt-ui-plugin
okd-console
btw. This plugin isn't listed anywhere inside kubevirt docs so it was really hard to find it (separate github organization for kubevirt and kubevirt-ui didn't help either).