You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module handles opinionated Oracle Container Engine for [Kubernetes][kubernetes_101] ([OKE][oke]) cluster creation on Oracle Cloud Infrastructure ([OCI][oci]). This module is designed to be used with the [OCI Resource Manager][oci_rm] to deploy a cluster in a single step. The module can also be used with the [OCI Terraform Provider][oci_tf_provider] to deploy a cluster using local or CloudShell Terraform cli.
20
20
21
-
>Note: This project is an alternative to easily create an OKE cluster without the need to use external workarounds and do not need to create compute bastions or jump servers, even if deploying using private endpoints. This is a __NO__(`null_resource` ,`remote_exec`, `operator instance`, `bastion_or_jump_server`, `out_of_tf_state_sh_scripts`) project
21
+
>__Note__: This project is an alternative to easily create an OKE cluster without the need to use external workarounds and do not need to create compute bastions or jump servers, even if deploying using private endpoints. This is a __NO__(`null_resource` ,`remote_exec`, `operator instance`, `bastion_or_jump_server`, `out_of_tf_state_sh_scripts`) project
22
22
23
23
Sub modules are provided to create a cluster with a single node pool, or a cluster with multiple node pools. Enables Cluster Autoscaler, OCI Vault(KMS) for customer-managed encryption keys for secrets, block volumes. The module also provides a sub module to create a cluster with a single node pool and a private endpoint to Oracle Resource Manager (ORM).
24
24
@@ -75,7 +75,7 @@ module "oke-quickstart" {
75
75
76
76
## Deploy Using Oracle Resource Manager
77
77
78
-
> **_NOTE:_** If you aren't already signed in, when prompted, enter the tenancy and user credentials. Review and accept the terms and conditions.
78
+
> ___NOTE:___ If you aren't already signed in, when prompted, enter the tenancy and user credentials. Review and accept the terms and conditions.
79
79
80
80
1. Click to deploy the stack
81
81
@@ -103,7 +103,7 @@ Note: An example [tfvars file](examples/terraform.tfvars.example) is included fo
103
103
preferred way to run the stack from the CLI, because of the large number of variables to manage.
104
104
105
105
To use this file just copy the example [tfvars file](examples/terraform.tfvars.example) and save it in the outermost directory.
106
-
Next, rename the file to **terraform.tfvars**. You can override the example values set in this file.
106
+
Next, rename the file to __terraform.tfvars__. You can override the example values set in this file.
# region = lookup(data.oci_identity_regions.home_region.regions[0], "name")
51
-
52
-
# user_ocid = var.user_ocid
53
-
# fingerprint = var.fingerprint
54
-
# private_key_path = var.private_key_path
55
-
# }
56
-
57
-
# provider "oci" {
58
-
# alias = "current_region"
59
-
# tenancy_ocid = var.tenancy_ocid
60
-
# region = var.region
61
-
62
-
# user_ocid = var.user_ocid
63
-
# fingerprint = var.fingerprint
64
-
# private_key_path = var.private_key_path
65
-
# }
66
-
67
-
# New configuration to avoid Terraform Kubernetes provider interpolation. https://registry.terraform.io/providers/hashicorp/kubernetes/2.2.0/docs#stacking-with-managed-kubernetes-cluster-resources
68
-
# Currently need to uncheck to refresh (--refresh=false) when destroying or else the terraform destroy will fail
node_pool_cni_type_1="FLANNEL_OVERLAY"# Use "OCI_VCN_IP_NATIVE" for VCN Native PODs Network. If the node pool 1 uses the OCI_VCN_IP_NATIVE, the cluster will also be configured with same cni
22
+
cluster_autoscaler_enabled=true
23
+
node_pool_initial_num_worker_nodes_1=3# Minimum number of nodes in the node pool
24
+
node_pool_max_num_worker_nodes_1=10# Maximum number of nodes in the node pool
25
+
node_pool_instance_shape_1={ "instanceShape" = "VM.Standard.E4.Flex", "ocpus" = 2, "memory" = 64 } # If not using a Flex shape, ocpus and memory are ignored
existent_vcn_compartment_ocid=""# Optional. Specify if want to create terraform to create the subnets and the VCN is in a different compartment than the OKE cluster
0 commit comments