admin 管理员组

文章数量: 1086019

I am developing a .NET 9 project using the .NET Aspire App Host model in Visual Studio, which contains 2 Azure Function apps.

The project will be deployed on a Windows Server 2022 with access to the local network but not the internet. Azure cloud services will then not be available.

Since this server is itself a virtual machine, the nested virtualization will not, ever, be available on it, I won't be able to use a hypervisor.

The Aspire dashboard that comes with this project model would be perfect for my use case since it's an effective orchestration tool that does not require a hypervisor and allows to manage local API easily with lots of nice features. Sadly, it can't run yet in a deployed environment, and there is not much news from Microsoft about implementing it.

To deploy this project as is, I will then need to use a Kubernetes cluster, which I am pretty new at. After some research, I found that since I can't run a hypervisor, I need to do a "Bare Metal" installation. But, everything I found is either for Linux or Mac and not really newcomers friendly, to say the least.

Here then are my two questions:

  1. Has anyone succeeded in using the Aspire dashboard in a deployed environment without hacking everything?
  2. If it is even possible to do so, is there somewhere a simple script or tutorial to install and deploy a bare metal Kubernetes cluster on Windows, where I would be able to deploy this project?

Thanks.

本文标签: kubernetesDeploy NET Aspire project in a local environment with no hypervisor supportStack Overflow