eks-node-viewer
eks-node-viewer copied to clipboard
BUG: Support for AWS SSO profiles
I'm still encountering pricing:GetProducts and ec2:DescribeSpotPriceHistory permission error even if my AWS IdC SSO role has the proper permissions
This the version of my eks-node-viewer and aws-cli binaries
I'm using eks-node-viewer --resources=cpu,memory command
IAM SSO Role Permissions
It works but since the pricing stuff is done via AWS directly (not kube) - I need to explicitly ensure I have a (or preferably the matching) AWS profile selected as well as the kube context... so for example:
AWS_PROFILE=thefooaccount eks-node-viewer --context=thefoocluster
Usually both my AWS_PROFILE and default kube context is either unset or defaulting to a local dev profile ...