/oke-px-terraform

Automated Oracle Kubernetes Engine (OKE) with Portworx deployment using Terraform

Primary LanguageHCLApache License 2.0Apache-2.0

Oracle Kubernetes Engine (OKE) Portworx Terraform

Automated Oracle Cloud Infrastructure (OCI) Oracle Kubernetes Engine (OKE) with Portworx deployment using Terraform

Getting Started

The Terraform HashiCorp Configuration Language (HCL) script creates a Kubernetes congiguration file in .kube/config (see kubeconfig.tf) To have direct desktop access using kubectl add this location to your KUBECONFIG, for example:

export KUBECONFIG=${KUBECONFIG}:/Users/rekins/myTerraform/oke-px-terrafom/.kube/config

  1. Pull this GitRepo
  2. Copy terraform.tfvars.example to terraform.tfvars
  3. Update terraform.tfvars, providing:
  • OCI account details, tennancy, compartment, and compute instance image
  • OKE cluster details
  • Portworx Operator and specification URL
  1. Deploy OKE enviroment, using:
terraform init
terraform validate
terraform plan
terraform apply --auto-approve

Author

  • Ron Ekins, Principal Solutions Architect, Office of the CTO at Pure Storage
  • Oracle ACE Director
  • @ronekins

Useful Link(s)