Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
avatar
Rising Star

Inspired by @sunile_manjee 's article How to use K9s to fetch metrics and logs for Cloudera Data Warehouse Experience , I decided to create the same tutorial for Cloudera Data Engineering.

The process is very similar, as you can see below.

Pre-Requisites

  • CDE environment setup
  • K9s installed on your machine (instructions here)
  • AWS user ARN
  • AWS configure (CLI) pointing to your AWS env (instructions here)

Step 1: Add your AWS user to the CDE environment

  1. In your AWS account console, go to IAM > Users > Search for your user name > copy your ARN:
    Screen Shot 2020-08-19 at 4.50.33 PM.png
  2. In the CDE main page, go to environment details:
    Screen Shot 2020-08-19 at 4.49.58 PM.png
  3. Then, go to access and add your ARN:
    Screen Shot 2020-08-19 at 4.42.39 PM.png

Step 2: Download the kubeconfig

  • In the CDE main page, click on the 3 dots, then Download Kube Config:Screen Shot 2020-08-19 at 4.42.54 PM.png

Step 3: Run K9s

  • You can now run k9s, by running:
    k9s --kubeconfig ~/Downloads/kubeconfig​
    Note: the path to your downloaded kubeconfig is subject to change of course.
    Screen Shot 2020-08-19 at 4.54.50 PM.png

 

 

7,267 Views