Which version of AWS Instance Metadata Service is used by OCP 3/4?

Solution Verified - Updated -

Issue

  • Which version of AWS Instance Metadata Service IMDSv2 or IMDSv1 is used by OCP 3 instance/SDK's when calling for AWS metadata?

  • Is there a way to configure OCP 3 to use Instance Metadata Service Version 2 (IMDSv2) when calling for the AWS metadata?

  • Ignition does not boot when IMDSv2 is set to required on AWS.

  • Currently, OpenShift 4 doesn't support IMDSv2.

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
    • 4.6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In