Error "Input does not match the requirements" while creating a new namespace in workload management in vCenter UI
search cancel

Error "Input does not match the requirements" while creating a new namespace in workload management in vCenter UI

book

Article ID: 418278

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

  • When creating a new namespace and and entering a name for the namespace, it throws an error: "Input does not match the requirements"
  • Checking the info option near the "Name" field shows the below requirements:
    • Alphanumeric (a-z and 0-9) string with maximum length of 63 characters
    • '-' character allowed anywhere except the first or last character
    • Must be unique across all Supervisors within a vCenter Server

Environment

vSphere Kubernetes Service

Resolution

  • The namespace name should be a DNS-compliant name, which means it should meet the below requirements and must be in lower case:
    • Alphanumeric (a-z and 0-9) string with maximum length of 63 characters
    • '-' character allowed anywhere except the first or last character
    • Must be unique across all Supervisors within a vCenter Server

          Example: my-dev-namespace is valid; MyDevNamespace or my_dev_namespace are invalid

Additional Information

Reference Document: Create and Configure a vSphere Namespace on the Supervisor