I don't think you want to use `kubectl port-forward` for production - it runs the traffic through the master API. You clearly have a kubernetes cluster - are you trying to expose a Service from that cluster?
On Wed, Apr 5, 2017 at 11:49 AM, YASMINE CHEIKHROUHOU <yasmine.cheikhrou...@enis.tn> wrote: > I want to setup it for a permanent fixture > Does you understand,Sir, what i mean? > > 2017-04-05 16:54 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and > Q&A <kubernetes-users@googlegroups.com>: >> >> kubectl port-forward is not really designed for serving production >> traffic, as I know it. Is this a one-off thing or something you want >> to set up as a permanent fixture? >> >> For a one-off, you can add something like socat to your local machine >> to forward whatever IP you want to that localhost port. >> >> I'm not the UX guardian for this area, so I can't say for sure, but >> MAYBE a patch would be considered. >> >> On Wed, Apr 5, 2017 at 12:42 AM, YASMINE CHEIKHROUHOU >> <yasmine.cheikhrou...@enis.tn> wrote: >> > I have created a pod using image xubuntu from docker hub then i want to >> > access to this image from rdp >> > So i do this kubectl port-forward My_Pod 3389:3389 so i get this >> > t Forwarding from 127.0.0.1:3389 -> 3389 >> > Forwarding from [::1]:3389 -> 3389 >> > But i don't want localhost i want this for example >> > kubectl port-forward --bind-address 192.168.56.1 mypod 3389 >> > The result will be like this: >> > Forwarding from 192.168.56.1:3389 -> 3389 >> > but --bind-address is not supported how to do? >> > >> > 2017-04-05 0:41 GMT+01:00 'Tim Hockin' via Kubernetes user discussion >> > and >> > Q&A <kubernetes-users@googlegroups.com>: >> >> >> >> Can you explain what you're trying to do? I think there's a little >> >> confusion. >> >> >> >> On Tue, Apr 4, 2017 at 1:23 AM, jasmin <yasmine.cheikhrou...@enis.tn> >> >> wrote: >> >> > Hello >> >> > I want to change the adress of localhost but --bind-adress is not >> >> > supported >> >> > with my kubectl version >> >> > Is there a solution >> >> > I have execute this command >> >> > kubectl port-forward My_Pod 3389:3389 >> >> > Forwarding from 127.0.0.1:3389 -> 3389 >> >> > I want to change 127.0.0.1 how to do it >> >> > Thanks all >> >> > >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups >> >> > "Kubernetes user discussion and Q&A" group. >> >> > To unsubscribe from this group and stop receiving emails from it, >> >> > send >> >> > an >> >> > email to kubernetes-users+unsubscr...@googlegroups.com. >> >> > To post to this group, send email to >> >> > kubernetes-users@googlegroups.com. >> >> > Visit this group at https://groups.google.com/group/kubernetes-users. >> >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> >> You received this message because you are subscribed to a topic in the >> >> Google Groups "Kubernetes user discussion and Q&A" group. >> >> To unsubscribe from this topic, visit >> >> >> >> https://groups.google.com/d/topic/kubernetes-users/1LRlm5jKow8/unsubscribe. >> >> To unsubscribe from this group and all its topics, send an email to >> >> kubernetes-users+unsubscr...@googlegroups.com. >> >> To post to this group, send email to kubernetes-users@googlegroups.com. >> >> Visit this group at https://groups.google.com/group/kubernetes-users. >> >> For more options, visit https://groups.google.com/d/optout. >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Kubernetes user discussion and Q&A" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to kubernetes-users+unsubscr...@googlegroups.com. >> > To post to this group, send email to kubernetes-users@googlegroups.com. >> > Visit this group at https://groups.google.com/group/kubernetes-users. >> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Kubernetes user discussion and Q&A" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/kubernetes-users/1LRlm5jKow8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> kubernetes-users+unsubscr...@googlegroups.com. >> To post to this group, send email to kubernetes-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/kubernetes-users. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.