Create Ocean Cluster from OpenShift (v4.x)
Ocean is a managed infrastructure service for Kubernetes that automatically adjusts infrastructure capacity and size to meet the needs of all pods, containers, and applications.
This tutorial covers the creation of an Ocean cluster using Spot.
Prerequisites
- OpenShift is installed and configured on AWS.
- At least one worker node is up and running
Get Started
-
Log on to your Spot account.
-
In the side menu of the console, click Ocean/Cloud Clusters.
-
Click Create Cluster.
-
Click the use case for OpenShift,
Connect an Existing OpenShift Cluster
.
Step 1: Enter General Information
-
Enter a Cluster Name and Identifier and choose a Region.
-
Choose an Auto Scaling Group or worker node Instance to import the cluster configuration from.
Step 2: Review Compute Settings
Confirm or change the settings imported by the Ocean Creation Wizard.

Step 3: Set up Connectivity
-
Create a Spot token or use an existing one.
-
Install the Ocean Controller Pod.
-
Ensure enable-csr-approval is set to True.
-
Click Test Connectivity to ensure the controller functionality.
curl -fsSL https://spotinst-public.s3.amazonaws.com/integrations/kubernetes/cluster-controller-v2/scripts/init.sh | \
SPOTINST_TOKEN=<ENTER YOUR TOKEN HERE> \
SPOTINST_ACCOUNT=$SPOTINST_ACCOUNT \
SPOTINST_CLUSTER_IDENTIFIER=$SPOTINST_CLUSTER_IDENTIFIER \
ENABLE_OCEAN_METRIC_EXPORTER=false \
ENABLE_OCEAN_NETWORK_CLIENT=false \
INCLUDE_METRIC_SERVER=true \
bash
- When the connectivity test is complete, click Create.
Ocean will now ensure the most cost-effective capacity and size possible for your cluster.