https://github.com/mayocream/oke-terraform
Deploy Oracle Cloud Kubernetes Cluster with Terraform
https://github.com/mayocream/oke-terraform
Last synced: 5 months ago
JSON representation
Deploy Oracle Cloud Kubernetes Cluster with Terraform
- Host: GitHub
- URL: https://github.com/mayocream/oke-terraform
- Owner: mayocream
- License: mit
- Created: 2024-09-23T16:33:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-23T16:46:41.000Z (over 1 year ago)
- Last Synced: 2025-10-11T17:18:36.091Z (8 months ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oke-terraform
Deploy ARM-based Oracle Cloud Kubernetes Cluster with Terraform
## Guide
1. Install [oci-cli](https://github.com/oracle/oci-cli)
2. Run `oci setup config,` and find acid on the Oracle cloud console.
3. Create `terraform.tfvars` with the below config:
```env
# Define the region
region = "ap-tokyo-1"
# Define the tenancy OCID
tenancy_ocid = "ocid1.tenancy.oc1.."
# Define the user OCID
user_ocid = "ocid1.user.oc1.."
# Define the compartment OCID
compartment_id = "ocid1.tenancy.oc1.."
# Define the fingerprint of the API key
fingerprint = "33:bc:49.."
# Define the path to the private key, e.g. /Users/mayo/.oci/oci_api_key.pem
private_key_path = ""
```
4. `terraform init`, `terraform plan` and `terraform apply` then boom, you have a low-cost K8s cluster now.