For this workshop, we’ll use a specific branch that is preconfigured to run within the One Observability PetSite cluster.
git clone https://github.com/nobl9/ekg.git
cd ekg
git checkout aws-workshop
Next, we need to make sure that we are logged into the cluster, using the config name PetSite
:
aws eks update-kubeconfig --name PetSite --region $AWS_REGION --alias PetSite
If you are working in Cloud9, you can navigate to Source Control panel on the left and click Clone Repository and enter above URL and select top directory as location:
Make sure to cd to top folder and navigate to ekg folder in the terminal as well.
Let’s create the tfvars file from this template:
cp terraform.tfvars.example terraform.tfvars
Then edit terraform.tfvars with your editor of choice, filing out each field:
PetSite
Now you need to create Nobl9 access keys and set some environment variable.
terraform
export TF_VAR_nobl9_client_id="<your Nobl9 Client ID>"
export TF_VAR_nobl9_client_secret="<your Nobl9 Client Secret>"
terraform init
terraform apply
Now you can navigate to Dashboards on the left panel and find EKG connected to your Nobl9 account for PetSite cluster: