https://pulumi.com logo
Title
e

enough-kite-69616

05/19/2020, 3:40 PM
How do I use Pulumi to set the AKS credentials with Kubectl after creating the AKS cluster so I can create the service account, etc?
b

billowy-army-68599

05/19/2020, 3:43 PM
hey! You need to export the
kubeConfig
from your cluster creation and then set a provider. Here's an example: https://github.com/pulumi/examples/blob/master/azure-ts-aks-helm/cluster.ts#L41-L43 You'll need to make sure you set that povider on your
tillerSA
service account similar to this https://github.com/pulumi/examples/blob/master/azure-ts-aks-helm/index.ts#L13
👍 1