Skip to content

Commit

Permalink
infra/azure-peerpods: create standard tier cluster by default
Browse files Browse the repository at this point in the history
Free-tier clusters are not always available, so this makes the deployment default to using a standard-tier cluster.
  • Loading branch information
msanft committed Oct 28, 2024
1 parent dc30318 commit 111e7b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions infra/azure-peerpods/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ resource "azurerm_kubernetes_cluster" "cluster" {
dns_prefix = "aks"
oidc_issuer_enabled = true
workload_identity_enabled = true
sku_tier = var.cluster_type

identity {
type = "SystemAssigned"
Expand Down
5 changes: 5 additions & 0 deletions infra/azure-peerpods/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ variable "subscription_id" {
variable "image_id" {
type = string
}

variable "cluster_type" {
type = string
default = "Free"
}

0 comments on commit 111e7b1

Please sign in to comment.