PodExecutionRole 配置错误

0

【以下的问题经过翻译处理】 我正在尝试按照入门指南启动一个 EKS pod。

在添加 Fargate 配置文件的步骤中,我收到以下错误。

"Misconfigured PodExecutionRole Trust Policy; Please add the eks-fargate-pods.amazonaws.com Service Principal"

但是它已经被添加到我的信任策略中。所以接下来我不知道该怎么做

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "eks-fargate-pods.amazonaws.com" }, "Action": "sts:AssumeRole", "Condition": { "ArnLike": { "aws:SourceArn": "arn:aws:<region>:111122223333:fargateprofile/<pod name>/*" } } } ] }

我目前正在按照这个步骤进行操作。

https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html

1 réponse
0

【以下的回答经过翻译处理】 该问题是我的帐号输入错误导致。现在已经被修正。

profile picture
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions