Create an EKS cluster
Download and setup the AWS CLI (preferably version 2)
Configure the AWS CLI with the credentials AWS user that has access to the cluster
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:
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.
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-clusteruser:exec:apiVersion: client.authentication.k8s.io/v1alpha1args:- --region- us-east-1- eks- get-token- --cluster-name- example-clustercommand: aws# Add these lines to your KubeConfigenv:- name: AWS_PROFILEvalue: <your profile>
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.
aws-okta is not supported yet, but we are working on it.
aws-vault is not supported yet, but we are working on it.