From af2012087a6b346a45eac0fef3a647fc4d14e0fa Mon Sep 17 00:00:00 2001 From: Ritika Patil Date: Tue, 5 Nov 2024 16:28:52 -0600 Subject: [PATCH] feat: (PSKD-815) Default K8s version updated to 1.30, add support for 1.31 --- Dockerfile | 2 +- README.md | 2 +- docs/CONFIG-VARS.md | 2 +- examples/sample-input-byo.tfvars | 2 +- examples/sample-input-connect.tfvars | 2 +- examples/sample-input-ha.tfvars | 2 +- examples/sample-input-minimal.tfvars | 2 +- examples/sample-input-postgres.tfvars | 2 +- examples/sample-input-ppg.tfvars | 2 +- examples/sample-input-singlestore.tfvars | 2 +- examples/sample-input.tfvars | 2 +- modules/azure_aks/variables.tf | 2 +- variables.tf | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 588910cb..20eb3140 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG AZURECLI_VERSION=2.64.0 FROM hashicorp/terraform:$TERRAFORM_VERSION as terraform FROM mcr.microsoft.com/azure-cli:$AZURECLI_VERSION -ARG KUBECTL_VERSION=1.29.7 +ARG KUBECTL_VERSION=1.30.6 WORKDIR /viya4-iac-azure diff --git a/README.md b/README.md index 0c11f1a2..cf04ef12 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Access to an **Azure Subscription** and an [**Identity**](./docs/user/TerraformA #### Terraform Requirements: - [Terraform](https://www.terraform.io/downloads.html) - v1.9.6 -- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.29.7 +- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.30.6 - [jq](https://stedolan.github.io/jq/) - v1.6 - [Azure CLI](https://docs.microsoft.com/en-us/cli/azure) - (optional - useful as an alternative to the Azure Portal) - v2.64.0 diff --git a/docs/CONFIG-VARS.md b/docs/CONFIG-VARS.md index 94cba51e..56cd9f9a 100644 --- a/docs/CONFIG-VARS.md +++ b/docs/CONFIG-VARS.md @@ -197,7 +197,7 @@ Ubuntu 20.04 LTS is the operating system used on the Jump/NFS servers. Ubuntu cr | :--- | ---: | ---: | ---: | ---: | | partner_id | A GUID that is registered with Microsoft to facilitate partner resource usage attribution | string | "5d27f3ae-e49c-4dea-9aa3-b44e4750cd8c" | Defaults to SAS partner GUID. When you deploy this Terraform configuration, Microsoft can identify the installation of SAS software with the deployed Azure resources. Microsoft can then correlate the resources that are used to support the software. Microsoft collects this information to provide the best experiences with their products and to operate their business. The data is collected and governed by Microsoft's privacy policies, located at https://www.microsoft.com/trustcenter. | | create_static_kubeconfig | Allows the user to create a provider / service account-based kubeconfig file | bool | true | A value of `false` will default to using the cloud provider's mechanism for generating the kubeconfig file. A value of `true` will create a static kubeconfig that uses a `Service Account` and `Cluster Role Binding` to provide credentials. | -| kubernetes_version | The AKS cluster Kubernetes version | string | "1.29" |Use of specific versions is still supported. If you need exact kubernetes version please use format `x.y.z`, where `x` is the major version, `y` is the minor version, and `z` is the patch version | +| kubernetes_version | The AKS cluster Kubernetes version | string | "1.30" |Use of specific versions is still supported. If you need exact kubernetes version please use format `x.y.z`, where `x` is the major version, `y` is the minor version, and `z` is the patch version | | create_jump_vm | Create bastion host | bool | true | | | create_jump_public_ip | Add public IP address to the jump VM | bool | true | | | enable_jump_public_static_ip | Enables `Static` allocation method for the public IP address of Jump Server. Setting false will enable `Dynamic` allocation method. | bool | true | Only used with `create_jump_public_ip=true` | diff --git a/examples/sample-input-byo.tfvars b/examples/sample-input-byo.tfvars index 34a503a7..793aae92 100644 --- a/examples/sample-input-byo.tfvars +++ b/examples/sample-input-byo.tfvars @@ -45,7 +45,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/examples/sample-input-connect.tfvars b/examples/sample-input-connect.tfvars index 5c49f03b..8537eeb4 100644 --- a/examples/sample-input-connect.tfvars +++ b/examples/sample-input-connect.tfvars @@ -34,7 +34,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/examples/sample-input-ha.tfvars b/examples/sample-input-ha.tfvars index f7450f67..4aa2bbd1 100644 --- a/examples/sample-input-ha.tfvars +++ b/examples/sample-input-ha.tfvars @@ -32,7 +32,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/examples/sample-input-minimal.tfvars b/examples/sample-input-minimal.tfvars index 939f17fb..a2e3a679 100644 --- a/examples/sample-input-minimal.tfvars +++ b/examples/sample-input-minimal.tfvars @@ -32,7 +32,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_D4_v3" #v3 still has local temp storage diff --git a/examples/sample-input-postgres.tfvars b/examples/sample-input-postgres.tfvars index e32a51c7..43606544 100644 --- a/examples/sample-input-postgres.tfvars +++ b/examples/sample-input-postgres.tfvars @@ -86,7 +86,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/examples/sample-input-ppg.tfvars b/examples/sample-input-ppg.tfvars index 2f66293d..b5c956c3 100644 --- a/examples/sample-input-ppg.tfvars +++ b/examples/sample-input-ppg.tfvars @@ -33,7 +33,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/examples/sample-input-singlestore.tfvars b/examples/sample-input-singlestore.tfvars index 21a7ae60..a292e8b5 100644 --- a/examples/sample-input-singlestore.tfvars +++ b/examples/sample-input-singlestore.tfvars @@ -34,7 +34,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/examples/sample-input.tfvars b/examples/sample-input.tfvars index 4301206d..62c43ec5 100644 --- a/examples/sample-input.tfvars +++ b/examples/sample-input.tfvars @@ -34,7 +34,7 @@ container_registry_sku = "Standard" container_registry_admin_enabled = false # AKS config -kubernetes_version = "1.29" +kubernetes_version = "1.30" default_nodepool_min_nodes = 2 default_nodepool_vm_type = "Standard_E8s_v5" diff --git a/modules/azure_aks/variables.tf b/modules/azure_aks/variables.tf index c4d3a904..3580aed0 100644 --- a/modules/azure_aks/variables.tf +++ b/modules/azure_aks/variables.tf @@ -146,7 +146,7 @@ variable "aks_node_disk_encryption_set_id" { variable "kubernetes_version" { description = "The AKS cluster K8s version" type = string - default = "1.29" + default = "1.30" } variable "aks_cluster_endpoint_public_access_cidrs" { diff --git a/variables.tf b/variables.tf index 1ac7515d..d8ccd296 100644 --- a/variables.tf +++ b/variables.tf @@ -151,7 +151,7 @@ variable "default_nodepool_vm_type" { variable "kubernetes_version" { description = "The AKS cluster K8s version" type = string - default = "1.29" + default = "1.30" } variable "default_nodepool_max_nodes" {