使用 terraform 在 azure kubernetes 中启用虚拟节点

enable virtual nodes in azure kubernates with terraform

是否有人可以提供在 Azure Kubernates 集群中使用 terraform 启用虚拟节点的配置。

不确定,但我参加了考试并进行了检查。有些事情会有所帮助。创建 AKS 并启用虚拟节点时。 AKS 属性 中出现了一些与禁用不同的特定内容:

我也发现可以在the Azure Template of AKS中设置。但是我找不到它可以在 Terraform 中设置的位置,它只是这样显示:

A addon_profile block supports the following:

http_application_routing - (Optional) A http_application_routing block.

oms_agent - (Optional) A oms_agent block. For more details, please visit How to onboard Azure Monitor for containers.

所以我认为您无法通过 Terraform 创建具有虚拟节点的 AKS。可能是预览版的AKS虚拟节点。但我不太确定。希望对您有所帮助。