-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcluster.tf
More file actions
30 lines (26 loc) · 716 Bytes
/
cluster.tf
File metadata and controls
30 lines (26 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# === Cluster ===
## Oracle Kubernetes Engine
module "oke" {
source = "oracle-terraform-modules/oke/oci"
compartment_id = oci_identity_compartment.k8s.id
region = var.region
home_region = var.region
tenancy_id = var.tenancy_ocid
create_operator = false
create_bastion_host = false
control_plane_type = "public"
control_plane_allowed_cidrs = ["0.0.0.0/0"]
kubernetes_version = "v1.24.1"
node_pools = {
np1 = {
boot_volume_size = 50
node_pool_size = 2
ocpus = 2
shape = "VM.Standard.A1.Flex"
memory = 12
}
}
providers = {
oci.home = oci
}
}