Admission webhook warning is triggering in the node terminal for RHOCP 4 web console
Issue
-
While accessing the node terminal from
RHOCP consolethe belowwarningmessage observed:
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.