We create the image with the label
io.openshift.expose-services="8080:http"
yet when creating the route with
oc expose svc/hola
port 8080 is not used. Why do we have to use
oc expose svc/hola --port 8080
?
Hello,
This LABEL provides descriptive information in the same way as EXPOSE in Dockerfile. It is optional, not required.
Kind Regards,
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.