Install the Prerequisites
Because the Kubernetes artifacts required are deployed as Helm charts in
Kubernetes to run the stacks, you need kubectl
, as well as Helm, installed.
Furthermore you will need the Oracle Cloud
Infrastructure Command-line Interface (CLI), which is required for kubectl
and will be
helpful for other tasks.
- The OCI Command-line Interface.
- If it's not already present,
kubectl
version 1.18 or greater. - Helm 3.x.
Install the Oracle Cloud Infrastructure Command-Line Interface
First, you will install the Oracle Cloud Infrastructure Command-line Interface (CLI).
Install kubectl
Next, install the Kubernetes command-line tool,
kubectl
.
Note:
If you are using Docker Desktop on Mac OS X or Windows,kubectl
should already
be installed, and you can skip this step.
The following is a high-level
procedure for installing kubectl
. For more detailed
instructions specific to your O/S, see "Install Tools" in the Kubernetes online
documentation, listed in the "Before You Begin" topic.
Install Helm
Now, you'll install the Helm CLI.
The following is a high-level procedure for installing Helm. For more detailed instructions specific to your O/S, see "Installing Helm" , listed in the "Before You Begin" topic.
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
Install Terraform
Finally, if it's not already installed, you need to install Terraform.
Note:
You will find links to the installation documentation referenced in this topic in the "Before You Begin" topic.tfswitch
, as described in Install in tfswitch
documentation, as it allows easy switching between
Terraform versions. If you installed tfswitch
, select a
version with: tfswitch
This playbook was tested with Terraform version 0.14.11
Otherwise, if you need guidance to setup Terraform, please visit the Terraform installation documentation and select the path corresponding to your environment.