Kubernetes Deployment Error: Invalid NodeName - How to Fix
"The Deployment "dw-elephant-ext" is invalid: spec.template.spec.nodeName: Invalid value: "SZJD-YFQ-VM-OS01-BCDW-CPT01": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*')" This error occurs because the deployment name includes illegal characters. According to the error message, the deployment name should only contain lowercase letters, numbers, '-' or '.', and must begin and end with a letter or number. \n\nTo fix this, you need to modify the deployment name to comply with the rules. In this case, you can change the deployment name from "dw-elephant-ext" to a valid name, such as "dw-elephant-ext-01". Then redeploy the application.
原文地址: https://www.cveoy.top/t/topic/quqS 著作权归作者所有。请勿转载和采集!