Hello Guys I'm trying create a FTP container in openshift and it need an open port range to passive mode connections so I would like to know if Is there any way to set up port range to Pods and Services ?
I know that if I specify one port each in openshift it's possible In docker I'm able to do like: $ docker run -d --name ose-ftp -p 21:21 -p 30000-30100:30000-30100 ose-ftp In Dockerfile I have: $ grep EXP Dockerfile EXPOSE 21 30000-30100 I tried something like in openshift template: pod.json ... "spec": { "containers": [ { "ports": [ { "containerPort": 21, "protocol": "TCP" }, "ports": [ { "containerPort": "30000-30100", "protocol": "TCP" } ... $ oc create -f pod.json unable to decode "pod.json": [pos 440]: json: expect char ',' but got char '-' I tried with colon instead of dash ("containerPort": "30000:30100",) but same error And after that, I'll need to configure the port range in service template too Thank you
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users