As any other girl or boy, I have been facing the same issue. What and how to deploy as Kubernetes edge platform. Somehow, after many sleepless nights in deep dark woods, after times of excitement followed by depression and despair, I had seen weak flickering light far far away. So my adventurous journey to perfect kube edge begins as yours.
Let’s establish our ground, by defining some expectations. They are sometimes a little bit contradictory, what else you can expect?
Requirements High availibility Easy to deploy/maintain Fast and archive storage Small footprint NIC teaming/bonding aka 2+ NICs Distributed storage = fast networking Cost-optimized solution (aka cheap) Operated by terraform Hypervisor or bare metal Kubernetes Difficult question to answer.
I need to customize a Linux (Ubuntu) image by cloud-init on Hyper-V. So it determines the environment - PowerShell on Windows and there are no fancy features for cloud-init, so you need a custom ISO with the YAML files. As you can expect, I started googling it. You will find an excellent script created by Chris Wu link. You will find the original script at the end of the article for reference.
Issues After I tried to execute it - I run immediately into this issue:
Add-Type: Line | 36 | Add-Type -CompilerParameters $cp -TypeDefinition @' | ~~~~~~~~~~~~~~~~~~~ | A parameter cannot be found that matches parameter name 'CompilerParameters'.
I have a question. How to deploy an image connected to Azure Arc unattended. Everything should be unattended. If something needs attention, it disturbs you from playing games on Xbox. And as you can expect, because we are working with Microsoft technology, it is a Linux image. So, no surprise here that it is an Ubuntu. It is still the most loved one by Microsoft, even over their breed (Mariner and Flatcar).
For some reason, the choice of the Hypervisor was vSpehere (ESXi), but as a poor man, choice without the comfort of the vCenter.
The workflow is simple - through the management network from our management workstation, we deploy an image with NIC pointed to the port group connected to the internet.