如何使用 1 年预留实例创建单节点 AKS 集群?

How to create a single node AKS cluster using a 1-year reserved instance?

正如标题所说,我不知道你应该怎么做。定价计算器允许这样做,所以我认为这是可能的。

我试过:

1) 创建新集群

2) 创建虚拟机并将其添加到现有集群,然后删除初始节点(尝试使用和不使用 scaleset 选项)

对于 #1,我看不到在集群初始化期间添加保留实例的选项。对于 #2,我看不到将现有虚拟机添加到现有 aks 集群的选项。

有人知道怎么做吗?

After you buy an Azure Reserved Virtual Machine Instance, the reservation discount is automatically applied to virtual machines that match the attributes and quantity of the reservation. A reservation covers the compute costs of your virtual machines. Source

documentation 中您可以看到这也适用于 AKS。

换句话说,您购买了一个预留实例,在您创建 AKS 集群后选择具有相同大小的实例,折扣将自动应用。

A reservation discount applies to the base VMs that you purchase from the Azure Marketplace.

通过市场您还可以阅读 AKS。