Skip to content

Commit

Permalink
Upgrade terraform to Kubernetes 1.21. (#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
roberthbailey authored Oct 21, 2021
1 parent fcee1c1 commit 9c69726
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/terraform/prow/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "google_container_cluster" "prow-build-cluster" {
project = var.project
location = "us-west1-c"
description = "Prow cluster to run tests for Agones"
min_master_version = "1.20"
min_master_version = "1.21"
initial_node_count = 8
node_config {
machine_type = "e2-standard-4"
Expand Down
4 changes: 2 additions & 2 deletions install/terraform/modules/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ variable "disk_size" {

# VMSS is used, so it is unpredictable how NICs will be given to VMs
# So let Azure to create NICs with Public IPs as gameservers require
# Azure Managment SDK can be used to obtain these IPs and map Agones GameServers internal IPs to public
# Azure Managment SDK can be used to obtain these IPs and map Agones GameServers internal IPs to public
variable "enable_node_public_ip" {
default = true
}

variable "kubernetes_version" {
default = "1.20.7"
default = "1.21.2"
}

variable "machine_type" {
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/eks/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module "eks" {
cluster_name = var.cluster_name
subnets = module.vpc.public_subnets
vpc_id = module.vpc.vpc_id
cluster_version = "1.20"
cluster_version = "1.21"

worker_groups_launch_template = [
{
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/gke/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {
initialNodeCount = lookup(var.cluster, "initialNodeCount", "4")
network = lookup(var.cluster, "network", "default")
subnetwork = lookup(var.cluster, "subnetwork", "")
kubernetesVersion = lookup(var.cluster, "kubernetesVersion", "1.20")
kubernetesVersion = lookup(var.cluster, "kubernetesVersion", "1.21")
windowsInitialNodeCount = lookup(var.cluster, "windowsInitialNodeCount", "0")
windowsMachineType = lookup(var.cluster, "windowsMachineType", "e2-standard-4")
}
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/gke/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variable "cluster" {
"project" = "agones"
"network" = "default"
"subnetwork" = ""
"kubernetesVersion" = "1.20"
"kubernetesVersion" = "1.21"
"windowsInitialNodeCount" = "0"
"windowsMachineType" = "e2-standard-4"
}
Expand Down

0 comments on commit 9c69726

Please sign in to comment.