Admission webhook warning is triggering in the node terminal for RHOCP 4 web console

Solution Verified - Updated -

Issue

  • While accessing the node terminal from RHOCP console the below warning message observed:

    Warning Message

    pod master-0-debug violates policy 299 - "metadata.name: this is used in the Pod's hostname, which can result in surprising behavior; a DNS label is recommended: [must not contain dots]"
    
  • Possible additional error messages might include:

    "Warning: metadata.name: this is used in the Pod's hostname, which can result in surprising behavior; a DNS label   is recommended: [must be no more than 63 characters]"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)

    • 4.16

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content