Infra App Docs
  • Overview
  • Getting started
  • Download Infra App
  • Connect your cluster
    • Amazon Web Services (EKS)
    • Google Cloud Platform (GKE)
    • Digital Ocean (DOKS)
    • Docker Desktop
    • Minikube
    • Other Clusters
  • Features
    • CPU & memory utilization
    • Container shell access
    • Log search & filtering
    • Editing Resources / Nodes
    • Deleting Pods
  • Advanced
    • Clusters with RBAC
    • FAQs
Powered by GitBook
On this page
  • Prerequisites
  • Generating a config file
  • Installing Metrics Server
  • Usage with custom profiles
  • Usage with aws-iam-authenticator
  • Usage with aws-okta
  • Usage with aws-vault

Was this helpful?

  1. Connect your cluster

Amazon Web Services (EKS)

Connect your AWS Elastic Kubernetes Service clusters to Infra App.

PreviousGetting startedNextGoogle Cloud Platform (GKE)

Last updated 4 years ago

Was this helpful?

Infra App connects automatically to most clusters. If running kubectl works without any modifications or custom scripts, then Infra App will also work out of the box.

Prerequisites

  • Create an

  • Download and setup the (preferably version 2)

  • with the credentials AWS user that has access to the cluster

Generating a config file

using the aws CLI. For example:

aws eks --region <region-code> update-kubeconfig --name <cluster_name>

You're done! Infra App should automatically switch to your cluster. You can switch to it at any time via the cluster dropdown:

Installing Metrics Server

AWS EKS clusters don't include metrics server by default, so real-time CPU & Memory usage metrics won't show out of the box with Infra App.

Usage with custom profiles

In order to use a custom AWS profile to connect to your cluster, you'll need to edit your Kubernetes config file. This file is usually found in:

  • ~/.kube/config on macOS and Linux

  • C:\Users\<your user>\.kube\config on Windows

Open this file and edit the relevant user object in the users: section. add an AWS_PROFILE environment variable .

users:
- name: arn:aws:eks:us-east-1:00919287195771:cluster/example-cluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - --region
      - us-east-1
      - eks
      - get-token
      - --cluster-name
      - example-cluster
      command: aws
      # Add these lines to your KubeConfig
      env:
      - name: AWS_PROFILE
        value: <your profile>

Usage with aws-iam-authenticator

Usage with aws-okta

Usage with aws-okta is not supported yet, but we are working on it.

Usage with aws-vault

Usage with aws-vault is not supported yet, but we are working on it.

Follow the on the AWS docs site to install metrics server on your cluster.

Older EKS clusters may use aws-iam-authenticator to generate tokens. If your cluster uses this make sure it's before using Infra App.

official guide
installed
EKS cluster
AWS CLI
Configure the AWS CLI
Create a config file entry