Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request failing with error "pod with specificed IP not found" #363

Open
rushikesh1 opened this issue May 18, 2023 · 0 comments
Open

Request failing with error "pod with specificed IP not found" #363

rushikesh1 opened this issue May 18, 2023 · 0 comments

Comments

@rushikesh1
Copy link

Hi,

I have deployed kube2iam as suggested on https://github.com/jtblin/kube2iam .
Provided Assume role to kube2iam daemonset and S3 full access role to a pod.
"aws s3 ls" call from pod fails with error "pod with specificed IP not found"

I tried running credentials api "curl http://169.254.169.254/latest/meta-data/iam/security-credentials/ " manually and it fails with same msg in pod.

kube2iam logs shows 404

time="2023-05-18T08:16:35Z" level=info msg="GET /latest/meta-data/iam/security-credentials/ (404) took 2693.093905 ms" req.method=GET req.path=/latest/meta-data/iam/security-credentials/ req.remote=10.*.*.* res.duration=2693.093905 res.status=404
But if I try to perform any other meta-data call it succeeds

bash-5.1$ curl http://169.254.169.254/latest/meta-data/ ami-id ami-launch-index ami-manifest-path block-device-mapping/
time="2023-05-18T09:13:46Z" level=info msg="GET /latest/meta-data/ (200) took 0.901455 ms" req.method=GET req.path=/latest/meta-data/ req.remote=10...* res.duration=0.901455 res.status=200

Can someone please me with this ?

@rushikesh1 rushikesh1 changed the title Request failing with pod with specificed IP not found Request failing with error "pod with specificed IP not found" May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant