KOP Integrations - Provision Upstream k8s - Rafay Product Documentation

Provision Upstream k8s

Overview

This is an example of a Jenkins based pipeline programmatically interacting with the Controller to provision upstream Kubernetes Clusters on Amazon AWS.


Assumptions


Example Pipeline

Step 1: Create Jenkins Item

Create a new Jenkins "Item", provide a name and select "pipeline" for type. Illustrative screenshot below.


Step 2: Cluster Spec Parameter

Select the "This project is parameterized" option and enter "CLUSTER_METADATA". This will carry the Cluster Specs.


Step 3: Pipeline

Copy the example Jenkins pipeline from the public Git repo and customize it with your details.


Step 4: Build With Parameters