ExternalNameServiceTypeInvalidPortName

    1. kind: Service
    2. name: nginx
    3. spec:
    4. externalName: nginx.example.com
    5. port: 443
    6. protocol: TCP
    7. targetPort: 443
    8. type: ExternalName

    How to resolve