Код: Выделить всё
kubectl exec -n first-namespace first-deployment-fhghgj567kkk-257xq env | grep AWS
AWS_REGION=us-east-1
AWS_ROLE_ARN=arn:aws:iam::263011912432:role/firstRole
AWS_WEB_IDENTITY_TOKEN_FILE=/var/run/secrets/eks.amazonaws.com/serviceaccount/token
Код: Выделить всё
Caused by: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain:
[EnvironmentVariableCredentialsProvider:
Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY)
and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)),
SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey),
WebIdentityTokenCredentialsProvider: Unable to locate specified web identity token file:
/var/run/secrets/eks.amazonaws.com/serviceaccount/token,
com.amazonaws.auth.profile.ProfileCredentialsProvider@7b58e085: profile file cannot be null,
com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@39cb0014: Failed to connect to service endpoint: ]
Кто-нибудь может помочь? Спасибо
Подробнее здесь: https://stackoverflow.com/questions/604 ... titytokenc