Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before proceeding, go to Release Information, and download the oci.tar.gz file for the Usage Engine Private Edition version that you want to install. Once downloaded, extract its content to a suitable location.

Assumptions

There are a few assumptions been made when using terraform to create cluster resources:

  1. We assume that you have an existing parent domain, in the example below example.com, hosted on the same account as the cluster that we are going to create in the following section and that you want to access the cluster environment via the hostname. Terraform will create a subdomain in the following format: <cluster_name>.<domain>.

    1. cluster name: uepe-oke

    2. domain: example.com

    3. final domain: uepe-oke.example.com

  2. We also assume that terraform is allowed to add a NS (NameServer) record to the parent domain which is needed to allow DNS delegation from the parent domain to subdomain.

  3. Terraform needs to persist the state of your provisioned infrastructure. By default, the state file is stored locally on the computer that terraform is executed from. However, if multiple persons are working on the infrastructure, then it is recommended to store the state file using a remote persistence such as Object Storage, see https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm for more information.

  4. The OCI File System service (NFS) is used as the default persistent storage for data that needs to be persisted.

  5. The OCI Managed PostgreSQL service is used as the Usage Engine Private Edition database.

  6. The user Principle is used throughout the entire installation. The user must prepare the private key file locally. The user can create and download the private key via the OCI console by selecting Profile | My Profile | API keys | Add API key.

Create Basic Cluster and additional infrastructure

To create a basic Kubernetes cluster with public and private VPC:

...

You can see the status of the cluster, db and the other resources in the OCI dashboard.

Configure Cluster Access

To configure cluster access, run the following command:

...