Troubleshooting
Problem
The iis_svc service is not created when the host name contains upper-case letters.
Symptom
In some environments, the iis_svc service might not be running. If you try to create this service manually, the following message is displayed:
kubectl create -f iis_svc.yaml
The Service "iisdocker" is invalid: spec.externalName: Invalid value: "NC1017403.somedomain.com": 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?)*')
Resolving The Problem
To resolve the issue, edit the file /home/mykubeadm1/iis_svc.yaml by specifying fully qualified host name in lower case letters. For example, change externalName: NC1017403.somedomain.com to
externalName: nc1017403.somedomain.com.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22011862