Skip to content

Commit 385cee6

Browse files
authored
fix: Change default Kubernetes version to v1.21.5 (#453)
1 parent e26da6a commit 385cee6

File tree

5 files changed

+38
-37
lines changed

5 files changed

+38
-37
lines changed

docs/terraformoptions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,8 @@ EOT
566566

567567
|`kubernetes_version`
568568
|The version of Kubernetes to provision. This is based on the available versions in OKE. By default, the latest version is selected. The use of 'LATEST' is no longer permitted in order to facilitate upgrades.
569-
|v1.18.10, v1.19.7, v1.19.12, v1.20.8, v1.20.11
570-
|v1.20.11
569+
|v1.19.7, v1.19.12, v1.20.8, v1.20.11,v1.21.5
570+
|v1.21.5
571571

572572
|pods_cidr
573573
|The CIDR for the Kubernetes POD network for flannel networking. CIDR blocks for pods must not overlap with the CIDR blocks for workers and load balancer subnets (calculated using vcn_cidr, newbits and subnets parameters).

docs/upgrade.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ NOTE: The out-of-place method is currently the _only_ supported method of upgrad
4242

4343
+
4444
----
45-
kubernetes_version = "v1.20.8"
45+
kubernetes_version = "v1.20.11"
4646
----
4747
to
4848

4949
+
5050
----
51-
kubernetes_version = "v1.20.11"
51+
kubernetes_version = "v1.21.5"
5252
----
5353

5454
. Run terraform:
@@ -94,7 +94,7 @@ node_pools = {
9494

9595
and run `terraform apply` again. (See note above about targeted apply). If you are using Kubernetes labels for your existing applications, you will need to ensure the new node pools also have the same labels. Refer to the `terraform.tfvars.example` file for the format to specify the labels.
9696

97-
When node pools 3 and 4 are created, they will be created with the newer cluster version of Kubernetes. Since you have already upgrade your cluster to `v1.20.11`, node pools 3 and 4 will be running Kubernetes v1.20.11.
97+
When node pools 3 and 4 are created, they will be created with the newer cluster version of Kubernetes. Since you have already upgrade your cluster to `v1.21.5`, node pools 3 and 4 will be running Kubernetes v1.21.5.
9898

9999
=== Drain older nodepools
100100
. Set `upgrade_nodepool=true`. This will instruct the OKE cluster that some node pools will be drained.

examples/verrazzano/oke.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module "oke" {
3737
cluster_name = "v8o"
3838
control_plane_type = "private"
3939
control_plane_allowed_cidrs = ["0.0.0.0/0"]
40-
kubernetes_version = "v1.20.11"
40+
kubernetes_version = "v1.21.5"
4141
pods_cidr = "10.244.0.0/16"
4242
services_cidr = "10.96.0.0/16"
4343

terraform.tfvars.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ control_plane_type = "private"
128128
control_plane_allowed_cidrs = ["0.0.0.0/0"]
129129
control_plane_nsgs = []
130130
dashboard_enabled = false
131-
kubernetes_version = "v1.20.11"
131+
kubernetes_version = "v1.21.5"
132132
pods_cidr = "10.244.0.0/16"
133133
services_cidr = "10.96.0.0/16"
134134

variables.tf

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ variable "dashboard_enabled" {
446446
}
447447

448448
variable "kubernetes_version" {
449-
default = "v1.20.11"
449+
default = "v1.21.5"
450450
description = "The version of kubernetes to use when provisioning OKE or to upgrade an existing OKE cluster to."
451451
type = string
452452
}
@@ -660,35 +660,36 @@ variable "ocir_urls" {
660660
# Region and region codes: https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#ServiceAvailabilityAcrossRegions
661661
description = "The urls of ocir in the respective regions."
662662
default = {
663-
ap-melbourne-1 = "mel.ocir.io"
664-
ap-hyderabad-1 = "hyd.ocir.io"
665-
ap-mumbai-1 = "bom.ocir.io"
666-
ap-osaka-1 = "kix.ocir.io"
667-
ap-singapore-1 = "sin.ocir.io"
668-
ap-seoul-1 = "icn.ocir.io"
669-
ap-chuncheon-1 = "yny.ocir.io"
670-
ap-sydney-1 = "syd.ocir.io"
671-
ap-tokyo-1 = "nrt.ocir.io"
672-
ca-montreal-1 = "yul.ocir.io"
673-
ca-toronto-1 = "yyz.ocir.io"
674-
eu-amsterdam-1 = "ams.ocir.io"
675-
eu-frankfurt-1 = "fra.ocir.io"
676-
eu-marseille-1 = "mrs.ocir.io"
677-
eu-milan-1 = "lin.ocir.io"
678-
eu-stockholm-1 = "arn.ocir.io"
679-
eu-zurich-1 = "zrh.ocir.io"
680-
il-jerusalem-1 = "mtz.ocir.io"
681-
me-abudhabi-1 = "auh.ocir.io"
682-
me-dubai-1 = "dxb.ocir.io"
683-
me-jeddah-1 = "jed.ocir.io"
684-
sa-santiago-1 = "scl.ocir.io"
685-
sa-saopaulo-1 = "gru.ocir.io"
686-
sa-vinhedo-1 = "vcp.ocir.io"
687-
uk-london-1 = "lhr.ocir.io"
688-
uk-cardiff-1 = "cwl.ocir.io"
689-
us-ashburn-1 = "iad.ocir.io"
690-
us-phoenix-1 = "phx.ocir.io"
691-
us-sanjose-1 = "sjc.ocir.io"
663+
af-johannesburg-1 = "jnb.ocir.io"
664+
ap-melbourne-1 = "mel.ocir.io"
665+
ap-hyderabad-1 = "hyd.ocir.io"
666+
ap-mumbai-1 = "bom.ocir.io"
667+
ap-osaka-1 = "kix.ocir.io"
668+
ap-singapore-1 = "sin.ocir.io"
669+
ap-seoul-1 = "icn.ocir.io"
670+
ap-chuncheon-1 = "yny.ocir.io"
671+
ap-sydney-1 = "syd.ocir.io"
672+
ap-tokyo-1 = "nrt.ocir.io"
673+
ca-montreal-1 = "yul.ocir.io"
674+
ca-toronto-1 = "yyz.ocir.io"
675+
eu-amsterdam-1 = "ams.ocir.io"
676+
eu-frankfurt-1 = "fra.ocir.io"
677+
eu-marseille-1 = "mrs.ocir.io"
678+
eu-milan-1 = "lin.ocir.io"
679+
eu-stockholm-1 = "arn.ocir.io"
680+
eu-zurich-1 = "zrh.ocir.io"
681+
il-jerusalem-1 = "mtz.ocir.io"
682+
me-abudhabi-1 = "auh.ocir.io"
683+
me-dubai-1 = "dxb.ocir.io"
684+
me-jeddah-1 = "jed.ocir.io"
685+
sa-santiago-1 = "scl.ocir.io"
686+
sa-saopaulo-1 = "gru.ocir.io"
687+
sa-vinhedo-1 = "vcp.ocir.io"
688+
uk-london-1 = "lhr.ocir.io"
689+
uk-cardiff-1 = "cwl.ocir.io"
690+
us-ashburn-1 = "iad.ocir.io"
691+
us-phoenix-1 = "phx.ocir.io"
692+
us-sanjose-1 = "sjc.ocir.io"
692693
}
693694
type = map(string)
694695
}

0 commit comments

Comments
 (0)