Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform to Kubernetes 1.21. #2326

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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