plain-eye-9759
12/04/2019, 10:22 AMpulumi up
, which now makes the deployment take so long.
This is what my cluster looks like:
const k8sCluster = new azure.containerservice.KubernetesCluster(config.clusterName, {
resourceGroupName: resourceGroup.name,
location: resourceGroup.location,
name: config.clusterName,
agentPoolProfiles: [{
name: "nodepool1",
count: config.nodeCount,
vmSize: config.nodeSize,
osType: "Linux"
}],
dnsPrefix: `${pulumi.getStack()}-kube`,
servicePrincipal: {
clientId: app.applicationId,
clientSecret: spPassword
},
tags: {
environment: config.env,
},
}, { dependsOn: [app, adSpPassword] });
And here is pulumi up
in action:tall-librarian-49374
12/04/2019, 10:30 AMdefaultNodePool
instead. See https://github.com/pulumi/examples/blob/master/azure-ts-aks-mean/cluster.ts#L22plain-eye-9759
12/04/2019, 10:46 AMtype
defaultNodePool: {
name: "nodepool",
nodeCount: config.nodeCount,
vmSize: config.nodeSize,
type: "Linux"
},
plain-eye-9759
12/04/2019, 10:58 AMtall-librarian-49374
12/04/2019, 10:59 AMplain-eye-9759
12/04/2019, 11:06 AMdefaultNodePool
againplain-eye-9759
12/04/2019, 5:03 PMdefaultNodePool
fixed it.
thanks @tall-librarian-49374