AWS EKS-IAM角色和策略错误-卷“ aws-iam-token”的MountVolume.SetUp失败:无法获取令牌

当我尝试实现此功能时: https://docs.aws.amazon.com/en_pv/eks/latest/userguide/create-service-account-iam-policy-and-role.html

我可以使用它(在没有密钥和机密的情况下使用aws-sdk.gem)并刷新令牌,但是当我尝试重新部署自定义头盔图表(并替换所有吊舱)时,我越来越

Unable to mount volumes for pod "****": timeout expired waiting for volumes to attach or mount for pod "****"/"****". list of unmounted volumes=[aws-iam-token iam-service-account-token-khv6m]. list of unattached volumes=[aws-iam-token iam-service-account-token-****]
Warning  Failedmount  1m (x9 over 3m)  kubelet,**** MountVolume.SetUp failed for volume "iam-service-account-token-****" : secrets "iam-service-account-token-****" not found
Warning  Failedmount  1m (x9 over 3m)  kubelet,**** MountVolume.SetUp failed for volume "aws-iam-token" : 
failed to fetch token:
serviceaccounts "iam-service-account" not found

谁知道我该怎么办?

owenlzhao 回答:AWS EKS-IAM角色和策略错误-卷“ aws-iam-token”的MountVolume.SetUp失败:无法获取令牌

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3056652.html

大家都在问