Skip to content

Commit 44c0a5d

Browse files
committed
Update terraform config for the services cluster
Signed-off-by: Koray Oksay <[email protected]>
1 parent 7358c8c commit 44c0a5d

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

ci/services/cluster/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
locals {
22
# it can be aquired from:
33
# oci ce node-pool-options get --node-pool-option-id all | jq '.data.sources.[] | select(."source-name" | match("Oracle-Linux-8.10-2025.*OKE-1.32.*"))'
4-
oci_image_id = "ocid1.image.oc1.us-sanjose-1.aaaaaaaa3rkpji3z32yqk5jaydjnxrlfwrgb5rqmyzak2ytcctjm7jrwdgya"
4+
oci_image_id = "ocid1.image.oc1.us-sanjose-1.aaaaaaaamq2dmjvezc4cnnk243hj7gqlvr47hgspofof4wxeuynzom7aijqq"
55
}
66

77
resource "oci_containerengine_cluster" "service" {

ci/services/cluster/network.tf

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,18 @@ resource "oci_core_security_list" "svc_lb" {
211211
}
212212
}
213213

214+
egress_security_rules {
215+
destination = "10.0.10.0/23"
216+
destination_type = "CIDR_BLOCK"
217+
protocol = "6"
218+
stateless = false
219+
220+
tcp_options {
221+
max = 30628
222+
min = 30628
223+
}
224+
}
225+
214226
ingress_security_rules {
215227
protocol = "6"
216228
source = "0.0.0.0/0"
@@ -234,6 +246,7 @@ resource "oci_core_security_list" "svc_lb" {
234246
min = 80
235247
}
236248
}
249+
237250
ingress_security_rules {
238251
protocol = "6"
239252
source = "0.0.0.0/0"
@@ -434,6 +447,18 @@ resource "oci_core_security_list" "node" {
434447
min = 32709
435448
}
436449
}
450+
451+
ingress_security_rules {
452+
protocol = "6"
453+
source = "10.0.20.0/24"
454+
source_type = "CIDR_BLOCK"
455+
stateless = false
456+
457+
tcp_options {
458+
max = 30628
459+
min = 30628
460+
}
461+
}
437462
}
438463

439464
resource "oci_core_subnet" "k8s_api_endpoint" {

ci/services/cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ variable "node_pool_worker_size" {
4848

4949
variable "kubernetes_version" {
5050
type = string
51-
default = "v1.33.1"
51+
default = "v1.34.1"
5252
}
5353

5454
variable "cluster_autoscaler_min" {

0 commit comments

Comments
 (0)