{"id":51116414,"url":"https://github.com/oracle-devrel/terraform-oci-arch-oke-virtual-node","last_synced_at":"2026-06-24T22:30:31.459Z","repository":{"id":171164065,"uuid":"630047930","full_name":"oracle-devrel/terraform-oci-arch-oke-virtual-node","owner":"oracle-devrel","description":"terraform-oci-arch-oke-virtual-node","archived":false,"fork":false,"pushed_at":"2024-05-16T16:20:37.000Z","size":134,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-21T21:59:05.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-devrel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-19T14:57:40.000Z","updated_at":"2024-10-24T14:53:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e56e044-c6eb-47ca-9834-6ea326b4505a","html_url":"https://github.com/oracle-devrel/terraform-oci-arch-oke-virtual-node","commit_stats":null,"previous_names":["oracle-devrel/terraform-oci-arch-oke-virtual-node"],"tags_count":6,"template":false,"template_full_name":"oracle-devrel/repo-template","purl":"pkg:github/oracle-devrel/terraform-oci-arch-oke-virtual-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-oke-virtual-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-oke-virtual-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-oke-virtual-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-oke-virtual-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-devrel","download_url":"https://codeload.github.com/oracle-devrel/terraform-oci-arch-oke-virtual-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-oke-virtual-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34752465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-24T22:30:27.340Z","updated_at":"2026-06-24T22:30:31.450Z","avatar_url":"https://github.com/oracle-devrel.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oke-virtual-node-terraform\n\n\n## Introduction\n\n\nThis Terraform stack facilitates the deployment of an Oracle Container Engine for Kubernetes (OKE) Virtual Nodes cluster in your tenancy. This stack will automatically provision the necessary network infrastructure components such as Virtual Cloud Network (VCN), subnets, Internet Gateway, NAT Gateway, and security rules. Additionally, you can deploy the relevant policies in the root compartment of your tenancy to enable operations of OKE Virtual Nodes and also includes the option to deploy a metrics server, ingress controller and the Kubernetes dashboard to the cluster.\n\n\n## Pre-requisites\n\n- [OCI CLI installed with the required credentials to deploy OKE in your tenancy](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm)\n- [kubectl installed](https://kubernetes.io/docs/tasks/tools/)\n- [Terraform Installed](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)\n\n\n\n\n[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-devrel/terraform-oci-arch-oke-virtual-node/archive/refs/tags/terraform-virtual-nodes-security-list-v5.zip)\n\n## Installation of Terraform stack\n\n**1. Clone or download the contents of this repo** \n     \n     git clone https://github.com/oracle-devrel/terraform-oci-arch-oke-virtual-node.git\n\n**2. Change to the directory that holds the Terraform stack** \n\n      cd ./terraform-oci-arch-oke-virtual-node\n\n**3. Populate the varaibles.tf file**\n\n\n**4. Install the Terraform stack**\n\n     terraform init\n     terraform plan\n     teraffrom apply\n  \n\n**5. Add Kubeconfig of Virtual Node cluster**\n\n     \n run oci command in output of terraform apply\n\n###  Sample Output \n![title](kubeconfig1.png)\n\n\n**7. To remove Terraform stack**\n\n     terraform destroy\n     \n \n##  variables.tf specification\n\n\n| Variables                          | Description                                                         | Type   | Mandatory |\n| ---------------------------------- | ------------------------------------------------------------------- | ------ | --------- |\n| `compartment_id` | Compartment to deploy OKE Virtual Nodes cluster | string | yes  |\n| `tenancy_ocid` | Tenancy ocid| string | yes  |\n| `region` | region to deploy the OKE Virtual Nodes Cluster  | string | yes     |\n| `pod_shape` | The shape of Virtual Nodes | string | yes       |\n| `virtual_node_count` | The number of Virtual Nodes in the node pool  | number | yes       |\n| `create_IAM_policy` | To create the policy for for Virtual Node operations set to \"true\". The IAM policy is created in the root compartment in customer's home region. Customer must have access to create a policy in this compartment.| bool | yes       |\n| `deploy_metrics_server` | install metrics server. Set to \"true\" to create the policy | bool | yes  |\n| `deploy_kubernetes_dashboard` | install Kubernetes dashboard. Set to \"true\" to create the policy | bool | yes  |\n| `deploy_ingress_controller` | install ingnx ingress controller. Set to \"true\" to create the policy | bool | yes  |\n\n\n## Useful commands \n\n\n**1. Check Virtual Nodes status**\n     \n     kubectl get nodes -o wide\n\n**1. Get IP address of Nginx ingress controller**\n\n     kubectl -n ingress-nginx get svc ingress-nginx-controller\n\n## Additional Resources\n\n- [OKE Virtual Nodes deliver a serverless Kubernetes experience](https://blogs.oracle.com/cloud-infrastructure/post/oke-virtual-nodes-deliver-serverless-experience)\n- [Oracle Container Engine for Kubernetes(OKE)](https://www.oracle.com/cloud/cloud-native/container-engine-kubernetes/#:~:text=Oracle%20Cloud%20Infrastructure%20Container%20Engine,complexities%20of%20the%20Kubernetes%20infrastructure.)\n- [OKE Virtual Nodes documentation](https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengoverview.htm)\n- [Get started with Oracle Cloud Infrastructure today with our Oracle Cloud Free Trial](https://www.oracle.com/cloud/free/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-oke-virtual-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-oke-virtual-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-oke-virtual-node/lists"}