by kohukohunui · 2w ago · 0 comments
From my hands-on engineering POV I often set this maybe not as a hard requirement but definitely a goal, and the places where it's not possible I find a little painful.
In your case where is it becoming something that doesn't make sense for you?
The other issue is permissions management. Git is great for auditability but it doesn't have the fine-grained permissions management you'd typically require from a "cloud" provider.
The end result is that we've created a "private cloud console" which has AWS-like IAM with fine-grained permissions and RBAC. All of the actions in the console talk to Github.com and open pull requests to repositories which once merged will publish a new OCI artifact. FluxCD pulls the latest artifact and Crossplane does the logic of updating the state of resources. Some (external/non-k8s) resources don't fit into this model very well if they don't have a Crossplane provider like our NetApp arrays where S3 is hosted.
Same things with dynamic changes just for test something, you need or commit temp change and commit back old value again or just pause controller from updating during your tests.
But the bright side of this is the fact that your configuration completly traceble and you have whole IaC backup for your infra in unrbreakable place (git).
For now we fully perform all updates and all configuration with Flux and this was a good decision I can retrospect.
How have you found the stability of KubeVirt through all of this? Are you using KubeVirt directly or a wrapper? We tried Harvester and it is amazing on day 1. Day 2 is a horrid nightmare of broken upgrade timesink. Granted we started at Harvester 1.4.0 in 2024 but have a couple clusters stuck on 1.5.0 right now and have VM failures regularly. Longhorn was also in use for VM disks and it was horrendously unstable even with dedicated 2x100Gb for each node.
We've moved everything to Proxmox+NetApp now and it's rock solid. Dedicated NICs + switches for corosync since that was the cause of an outage once.
From our personal PoV, its has more complexity than other two, especially with CDI and volume management. We use it raw, but we have done a lot of work on OVS/OVN networking on background to make it proper way be used on cloud scenarios.
Long story short, its pretty powerful and stable when you have large expierence on Kubernetes itself but you need an additional engineering to make a proper UX expierence around it. We invest like ~6 month of engineering around it, especially on preparing "golden images" pipelines, distribution of images across nodes, snapshots, GPU support(pretty complex) but as a result we can manage everything from code now.
Regarding UX, you can get an idea from our docs, how we cover this for end-users: https://docs.kube-dc.com/cloud/creating-vm
So I could strongly suggest it if you are a building plarform around and has a good K8s team, but if you need just VM's to run in your env, I think alternatives you mentioned would be simpler to utilize.