Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) Setup
This page describes how to set up a Kubernetes cluster on OKE to be used as a Spinnaker Kubernetes v2 provider.
Create a cluster
If you don’t already have a cluster for this purpose, you can create a Kubernetes cluster on OKE by following this tutorial.
Download kubectl configuration file
Follow the instructions to download kubectl configuration file.
Enable Kubernetes Cloud provider using Halyard
Run the following hal
command to add an account named my-k8s-v2-acct
to your list of Kubernetes accounts:
hal config provider kubernetes account add my-k8s-v2-acct \
--provider-version v2 \
--context $(kubectl config current-context)
Enable the Kubernetes provider and artifacts feature:
hal config provider kubernetes enable
hal config features edit --artifacts true