https://pulumi.com logo
#general
Title
# general
s

stale-autumn-24797

10/03/2019, 9:07 PM
A question about Pulumi AKS support: Am I able to configure a Kubernetes cluster to use virtual nodes in Pulumi, as described in this article: https://docs.microsoft.com/en-us/azure/aks/virtual-nodes-cli?
w

white-balloon-205

10/03/2019, 9:12 PM
I expect you can. I think the key thing is to use
addonProfiles
to specify this: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/azure/types/output/#KubernetesClusterAddonProfile
s

stale-autumn-24797

10/04/2019, 3:43 AM
Thanks. I assume that I need to implement a custom KubernetesClusterAddonProfile? If so, can you give me a pointer on how to do this?
And I’m doing this in python…thanks!
The reason I ask this is that I am getting the following error when trying to run pulumi up:
azure:containerservice:KubernetesCluster (aks):
error: azure:containerservice/kubernetesCluster:KubernetesCluster resource 'aks' has a problem: addon_profile.0: invalid or unknown key: virtual_node
Nevermind, I figured it out. The addon that I needed is named aci_connector_linux.
2 Views