Skip to content

Access to http://169.254.169.254/latest/api/token is blocked #171

@vshulkin

Description

@vshulkin

Describe the bug

I am trying to use simkube from the company network to export cluster configuration to AWS so I can load the simulation to kwok cluster later on. Unfortunately s3:// export does not work because access to instance metadata (http://169.254.169.254) is blocked or shouldn't been used at all. I am providing AWS creds as env variables.

A clear and concise description of what the bug is.

Getting error:
SimKube error: Generic S3 error: Error after 10 retries in 7.871049463s, max_retries:10, retry_timeout:180s, source:error sending request for url (http://169.254.169.254/latest/api/token)

Steps to reproduce

  1. Run this command...
    skctl export -o s3:///simkube/trace

Expected behavior

Expected to dump trace file into

Additional Info

Kubernetes Version: v1.28.13
Environment (kind, EKS, self-managed/hosted, etc.): self-managed/hosted
Affected components (skctl):

Metadata

Metadata

Assignees

Labels

awsIssues running on AWSbcliIssues with the skctl CLIneeds investigationNeeds more work to understand what's going on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions