top | item 44723718

Show HN: Faster local AWS EKS access

1 points| moulick | 7 months ago |github.com

Simple script to replace `aws` in your Kubeconfig for users of AWS EKS. Reduces the pain of using kubectl with AWS EKS a lot.

The default way is to use aws eks get-token command, but it is not cached and it is not very fast. It's slow because:

1. Every kubectl command will do an `aws eks get-token` which makes an API call to AWS

2. aws cli is python. When running kubectl in a loop, you can very clearly see how much performance is lost generating tokens for each kubectl invocation in Activity Monitor.

discuss

order

No comments yet.