Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
Pulumi.yaml
README.md
cluster.ts
config.ts
index.ts
package-lock.json
package.json
tsconfig.json

README.md

Pulumi for Tweek on Azure

Requirements

  • Azure account
  • az tool installed

Configuration Parameters

Parameter name Description Secret?
azure:environment The Azure environment to use (public, usgovernment, german, china) No
password password for the new Azure Service Principal Yes
valuesYaml Your values.yaml file which overrides the default helm values No
nodeSize Azue VM type, default is Standard_D2_v2 No
nodeCount Number of k8s nodes, default is 2 No
sshPublicKey SSH public key for k8s nodes No

Creating Tweek AKS cluster

To create Tweek cluster in AKS run the following commands

az login
az account --subscription YOUR_SUBSCRIPTION
pulumi stack init YOUR_STACK_NAME
pulumi config set azure:environment public
pulumi config set password --secret somelongpassword
pulumi config set sshPublicKey YOUR_SSH_PUBLIC_KEY
pulumi config set valuesYaml /path/to/values.yaml
pulumi up

Where YOUR_SUBSCRIPTION is the id of the subscription you want to use. You can skip this command if you only have one. Instead of YOUR_STACK_NAME write the name you'd like to give to your stack. The commands in the form of pulumi config set are used to set the configuration parameters, described in the configuration parameters section. Instead of YOUR_SSH_PUBLIC_KEY put your ssh public key, which can be generated using ssh-keygen -t rsa -f key.rsa

You can’t perform that action at this time.