jonmosco / kube-ps1

Kubernetes prompt info for bash and zsh
Apache License 2.0
3.52k stars 351 forks source link

Seems to constantly hit the AWS api? #152

Closed paul-civitas closed 2 years ago

paul-civitas commented 2 years ago

My shell seemed kinda sluggish, and I noticed in our organization's cloudtrail that I'm apparently constantly calling assume role.

It seems that kubeps1 when using AWS is constantly calling assume role somehow?

jonmosco commented 2 years ago

kube-ps1 only reads the kubectl config file (including the env variable KUBECONFIG), it does not call out to the AWS api.