Amazon Web Services (EKS)

Connect your AWS Elastic Kubernetes Service clusters to Infra App.

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

Generating a config file

Create a config file entry 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.

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

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

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

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.