Automated Oracle Cloud Infrastructure (OCI) Oracle Kubernetes Engine (OKE) with Portworx deployment using Terraform
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
- Pull this GitRepo
- Copy terraform.tfvars.example to terraform.tfvars
- Update terraform.tfvars, providing:
- OCI account details, tennancy, compartment, and compute instance image
- OKE cluster details
- Portworx Operator and specification URL
- Deploy OKE enviroment, using:
terraform init
terraform validate
terraform plan
terraform apply --auto-approve
- Ron Ekins, Principal Solutions Architect, Office of the CTO at Pure Storage
- Oracle ACE Director
- @ronekins