How to set Node name more than 63 character in RHOCP 4

Solution Verified - Updated -

Issue

  • After setting node name more than 63 character getting below error:

    Mar 19 00:50:40 master0.with.long.name bash[27443]: E0319 08:52:00.000   27443 
    kubelet_node_status.go:94] "Unable to register node with API 
    server" err="Node \"master0.with.long.name\" is invalid:
    metadata.labels: Invalid value: \"master0.with.long.name\": m
    ust be no more than 63 characters" node="master0.with.long.name"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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