This workshop focuses on the process of provisioning and configuring an AKS cluster on Azure using Pulumi
To deploy your infrastructure, follow the below steps.
Get started with Pulumi & Azure
After cloning this repo, from this working directory, run these commands:
-
Install the required Node.js packages:
$ npm install
-
Create a new stack, which is an isolated deployment target for this example:
$ pulumi stack init
-
Configure the stack.
The pulumi config CLI command can save some values as configuration parameters. Run the following commands to set the names for some of values that may its reusable in multiple environments:
$pulumi config set k8sVersion 1.30.3 $pulumi config set nodeCount 3 $pulumi config set nodeSize Standard_A2_v2 $pulumi config set adminUser ingress-nginx $pulumi config set ingressNamespace 1.30.3 $pulumi config set appNamespace apps $pulumi config set letenscriptEmail <your_email>
-
Update the stack.
$ pulumi up
-
Once you've finished experimenting, tear down your stack's resources by destroying and removing it:
$ pulumi destroy --yes $ pulumi stack rm --yes