Skip to content

Commit d6e4b99

Browse files
authored
feat: upgraded default Kubernetes version to v1.23.4 (#526)
Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
1 parent 9178253 commit d6e4b99

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/terraformoptions.adoc

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

589589
|`kubernetes_version`
590590
|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.
591-
|v1.19.7, v1.19.12, v1.20.8, v1.20.11,v1.21.5
592-
|v1.21.5
591+
|v1.20.8, v1.20.11, v1.21.5, v1.22.5, v1.23.4,
592+
|v1.23.4
593593

594594
|pods_cidr
595595
|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.11"
45+
kubernetes_version = "v1.22.5"
4646
----
4747
to
4848

4949
+
5050
----
51-
kubernetes_version = "v1.21.5"
51+
kubernetes_version = "v1.23.4"
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.21.5`, node pools 3 and 4 will be running Kubernetes v1.21.5.
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.23.4`, node pools 3 and 4 will be running Kubernetes v1.23.4.
9898

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

terraform.tfvars.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ control_plane_type = "private"
144144
control_plane_allowed_cidrs = ["0.0.0.0/0"]
145145
control_plane_nsgs = []
146146
dashboard_enabled = false
147-
kubernetes_version = "v1.21.5"
147+
kubernetes_version = "v1.23.4"
148148
pods_cidr = "10.244.0.0/16"
149149
services_cidr = "10.96.0.0/16"
150150

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ variable "dashboard_enabled" {
505505
}
506506

507507
variable "kubernetes_version" {
508-
default = "v1.21.5"
508+
default = "v1.23.4"
509509
description = "The version of kubernetes to use when provisioning OKE or to upgrade an existing OKE cluster to."
510510
type = string
511511
}

0 commit comments

Comments
 (0)