KOP Recipes - Amazon Managed Prometheus (AMP) - Create - Rafay Product Documentation

Create

In Part-1, you will configure and provision an Amazon EKS Cluster


Step 1: Configure RCTL

This step is a one-time task. In this step, you will download the RCTL CLI so that you can interact with your Org programmatically and embed all operations in your existing automation platform.

./rctl config init <full path to config file>

Optionally, check if RCTL is properly configured and can interact with your Org. You should see an output similar to the example below.

./rctl get projects

NAME
defaultproject

Step 2: Provision EKS cluster

This step assumes the following:

In the example below, you will provision an Amazon EKS cluster in the "default project" with "one managed nodegroup" using the cluster specification provided below.

Type Description
Cluster Name amp-demo
Project default
Blueprint default
k8s Version 1.20
AWS Region us-west-1
Worker Nodes 2
Node Group Type Managed
kind: Cluster
metadata:
  name: amp-demo
  project: default
spec:
  type: eks
  cloudprovider: qa-eks
  blueprint: default
---
apiVersion: rafay.io/v1alpha5
kind: ClusterConfig
metadata:
  name: amp-demo
  region: us-west-1
  version: "1.20"

managedNodeGroups:
  - name: managed-ng1
    instanceType: t3.large
    desiredCapacity: 2
./rctl apply -f "amp-demo.yaml"

This will start the provisioning of an EKS cluster in the project. This step can take ~10-15 minutes to complete. Once provisioning is successful, you should be able to interact with your EKS cluster in your Project.


Next Steps

You are now ready to move on to the second part of the recipe.