How to change the adress of port-forwarding

2,326 views
Skip to first unread message

jasmin

unread,
Apr 4, 2017, 4:23:23 AM4/4/17
to Kubernetes user discussion and Q&A
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

Christian Koep

unread,
Apr 4, 2017, 6:04:21 AM4/4/17
to kubernet...@googlegroups.com
You have to create a service object.

See:
- https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#exposing-the-service
- https://kubernetes.io/docs/user-guide/services/#publishing-services---service-types
> --
> 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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.



--
Christian Koep
---
4096R / BB97 7DE2 9669 2F4D EC3A 3481 8899 70BE 1295 5732

YASMINE CHEIKHROUHOU

unread,
Apr 4, 2017, 6:29:43 AM4/4/17
to kubernet...@googlegroups.com
Can i upgrade the version of kubectl in order to use --bind adress

2017-04-04 11:03 GMT+01:00 Christian Koep <der...@gmail.com>:
You have to create a service object.

See:
- https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#exposing-the-service
- https://kubernetes.io/docs/user-guide/services/#publishing-services---service-types

On Tue, Apr 4, 2017 at 10:23 AM, jasmin <yasmine.ch...@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+unsubscribe@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
--
Christian Koep
---
4096R / BB97 7DE2 9669 2F4D EC3A  3481 8899 70BE 1295 5732

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.

Christian Koep

unread,
Apr 4, 2017, 6:49:40 AM4/4/17
to kubernet...@googlegroups.com
No. That won't change the fact that you need a service and some kind
of load balancer to send traffic to your cluster from the outside.
>> > email to kubernetes-use...@googlegroups.com.
>> > To post to this group, send email to kubernet...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/kubernetes-users.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Christian Koep
>> ---
>> 4096R / BB97 7DE2 9669 2F4D EC3A 3481 8899 70BE 1295 5732
>>
>> --
>> 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-use...@googlegroups.com.
>> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.

Tim Hockin

unread,
Apr 4, 2017, 7:41:28 PM4/4/17
to kubernet...@googlegroups.com
Can you explain what you're trying to do? I think there's a little confusion.

YASMINE CHEIKHROUHOU

unread,
Apr 5, 2017, 3:42:23 AM4/5/17
to kubernet...@googlegroups.com
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
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 <kubernet...@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.ch...@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+unsubscribe@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.

Tim Hockin

unread,
Apr 5, 2017, 11:54:35 AM4/5/17
to kubernet...@googlegroups.com, Phillip Wittrock
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.
>> > email to kubernetes-use...@googlegroups.com.
>> > To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.

YASMINE CHEIKHROUHOU

unread,
Apr 5, 2017, 2:49:36 PM4/5/17
to kubernet...@googlegroups.com
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 <kubernet...@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.ch...@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

>>
>> 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.ch...@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+unsubscribe@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

>> 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+unsubscribe@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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.

Tim Hockin

unread,
Apr 5, 2017, 4:32:28 PM4/5/17
to kubernet...@googlegroups.com
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
>> > Q&A <kubernet...@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.ch...@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-use...@googlegroups.com.
>> >> > To post to this group, send email to
>> >> > kubernet...@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-use...@googlegroups.com.
>> >> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> > To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.

YASMINE CHEIKHROUHOU

unread,
Apr 5, 2017, 4:59:13 PM4/5/17
to kubernet...@googlegroups.com
yes it's for production Sir
i try to expose service after calling expose --type=LoadBalancer a call to get services shows pending for many minutes and then no EXTERNAL-IP appears

2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and Q&A <kubernet...@googlegroups.com>:
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.ch...@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

>>
>> 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.ch...@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

>> >>
>> >> 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.ch...@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

>> >> > To post to this group, send email to

>> >> > 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+unsubscribe@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+unsubscribe@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

>> 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+unsubscribe@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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.

Tim Hockin

unread,
Apr 5, 2017, 5:03:03 PM4/5/17
to kubernet...@googlegroups.com
On what cloud?

On Wed, Apr 5, 2017 at 1:59 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
> yes it's for production Sir
> i try to expose service after calling expose --type=LoadBalancer a call to
> get services shows pending for many minutes and then no EXTERNAL-IP appears
>
> 2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and
> Q&A <kubernet...@googlegroups.com>:
>>
>> 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.ch...@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 <kubernet...@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.ch...@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 <kubernet...@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.ch...@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-use...@googlegroups.com.
>> >> >> > To post to this group, send email to
>> >> >> > kubernet...@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-use...@googlegroups.com.
>> >> >> To post to this group, send email to
>> >> >> kubernet...@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-use...@googlegroups.com.
>> >> > To post to this group, send email to
>> >> > kubernet...@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-use...@googlegroups.com.
>> >> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> > To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.

YASMINE CHEIKHROUHOU

unread,
Apr 5, 2017, 5:23:07 PM4/5/17
to kubernet...@googlegroups.com
it seems that i don't understand you when i tell it's for production
1) i instlled cluster kubernetes with murano
2) i run image ubuntu-xrdp from docker hub 
3) i want to access to this image with xrdp i want public Ip:Port i cant access but when i do 
kubectl port-forward My_Pod 3389:3389
i get
Forwarding from 127.0.0.1:3389 -> 3389
i don't want localhost i want to allow port-forwading to more interfaces than localhost
you see sir what i mean
I hope you understand me and you can help me because really blocked
i want this in the picture but i can't because it's forwarding only localhost
thank you

2017-04-05 22:02 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and Q&A <kubernet...@googlegroups.com>:
On what cloud?

On Wed, Apr 5, 2017 at 1:59 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
> yes it's for production Sir
> i try to expose service after calling expose --type=LoadBalancer a call to
> get services shows pending for many minutes and then no EXTERNAL-IP appears
>
> 2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and

>>
>> 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.ch...@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

>> >>
>> >> 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.ch...@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

>> >> >>
>> >> >> 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.ch...@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

>> >> >> > To post to this group, send email to

>> >> >> > 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

>> >> >> To post to this group, send email to

>> >> >> 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

>> >> > To post to this group, send email to

>> >> > 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+unsubscribe@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+unsubscribe@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

>> 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+unsubscribe@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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Capture.PNG

Tim Hockin

unread,
Apr 5, 2017, 5:39:25 PM4/5/17
to kubernet...@googlegroups.com
On Wed, Apr 5, 2017 at 2:23 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
> it seems that i don't understand you when i tell it's for production
> 1) i instlled cluster kubernetes with murano
> 2) i run image ubuntu-xrdp from docker hub

OK, so now you have a single pod running in your cluster

> 3) i want to access to this image with xrdp i want public Ip:Port i cant

You need a Service for a public IP

> access but when i do
> kubectl port-forward My_Pod 3389:3389
> i get
> Forwarding from 127.0.0.1:3389 -> 3389

kubectl is not, in general, how you get traffic into and out of your
cluster. You want a service with a load balancer.

> i don't want localhost i want to allow port-forwading to more interfaces
> than localhost
> you see sir what i mean
> I hope you understand me and you can help me because really blocked
> i want this in the picture but i can't because it's forwarding only
> localhost
> thank you
>
> 2017-04-05 22:02 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and
> Q&A <kubernet...@googlegroups.com>:
>>
>> On what cloud?
>>
>> On Wed, Apr 5, 2017 at 1:59 PM, YASMINE CHEIKHROUHOU
>> <yasmine.ch...@enis.tn> wrote:
>> > yes it's for production Sir
>> > i try to expose service after calling expose --type=LoadBalancer a call
>> > to
>> > get services shows pending for many minutes and then no EXTERNAL-IP
>> > appears
>> >
>> > 2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user discussion
>> > and
>> > Q&A <kubernet...@googlegroups.com>:
>> >>
>> >> 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.ch...@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 <kubernet...@googlegroups.com>:
>> >> >> > Q&A <kubernet...@googlegroups.com>:
>> >> >> >> > email to kubernetes-use...@googlegroups.com.
>> >> >> >> > To post to this group, send email to
>> >> >> >> > kubernet...@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-use...@googlegroups.com.
>> >> >> >> To post to this group, send email to
>> >> >> >> kubernet...@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-use...@googlegroups.com.
>> >> >> > To post to this group, send email to
>> >> >> > kubernet...@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-use...@googlegroups.com.
>> >> >> To post to this group, send email to
>> >> >> kubernet...@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-use...@googlegroups.com.
>> >> > To post to this group, send email to
>> >> > kubernet...@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-use...@googlegroups.com.
>> >> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> > To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.

YASMINE CHEIKHROUHOU

unread,
Apr 5, 2017, 5:49:56 PM4/5/17
to kubernet...@googlegroups.com
good but as i said 
i exposed  service after calling expose --type=LoadBalancer a call to get services shows pending for many minutes and then no EXTERNAL-IP appears
i don't know whyy

2017-04-05 22:38 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and Q&A <kubernet...@googlegroups.com>:
On Wed, Apr 5, 2017 at 2:23 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
> it seems that i don't understand you when i tell it's for production
> 1) i instlled cluster kubernetes with murano
> 2) i run image ubuntu-xrdp from docker hub

OK, so now you have a single pod running in your cluster

> 3) i want to access to this image with xrdp i want public Ip:Port i cant

You need a Service for a public IP

> access but when i do
> kubectl port-forward My_Pod 3389:3389
> i get
> Forwarding from 127.0.0.1:3389 -> 3389

kubectl is not, in general, how you get traffic into and out of your
cluster.  You want a service with a load balancer.

> i don't want localhost i want to allow port-forwading to more interfaces
> than localhost
> you see sir what i mean
> I hope you understand me and you can help me because really blocked
> i want this in the picture but i can't because it's forwarding only
> localhost
> thank you
>
> 2017-04-05 22:02 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and

>>
>> On what cloud?
>>
>> On Wed, Apr 5, 2017 at 1:59 PM, YASMINE CHEIKHROUHOU
>> <yasmine.ch...@enis.tn> wrote:
>> > yes it's for production Sir
>> > i try to expose service after calling expose --type=LoadBalancer a call
>> > to
>> > get services shows pending for many minutes and then no EXTERNAL-IP
>> > appears
>> >
>> > 2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user discussion
>> > and

>> >>
>> >> 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.ch...@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

>> >> >> >> > To post to this group, send email to

>> >> >> >> > 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

>> >> >> >> To post to this group, send email to

>> >> >> >> 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

>> >> >> > To post to this group, send email to

>> >> >> > 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

>> >> >> To post to this group, send email to

>> >> >> 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

>> >> > To post to this group, send email to

>> >> > 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+unsubscribe@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+unsubscribe@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

>> 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+unsubscribe@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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.

Tim Hockin

unread,
Apr 5, 2017, 5:52:49 PM4/5/17
to kubernet...@googlegroups.com
So THAT is what you should figure out, not how to (ab)use a different
feature. Without knowing all of the details of your whole install, I
can't say why load-balancer doesn't work in your install. There needs
to be a controller that implements it, usually through the
CloudProvider interface...



On Wed, Apr 5, 2017 at 2:49 PM, YASMINE CHEIKHROUHOU
>> > Q&A <kubernet...@googlegroups.com>:
>> >>
>> >> On what cloud?
>> >>
>> >> On Wed, Apr 5, 2017 at 1:59 PM, YASMINE CHEIKHROUHOU
>> >> <yasmine.ch...@enis.tn> wrote:
>> >> > yes it's for production Sir
>> >> > i try to expose service after calling expose --type=LoadBalancer a
>> >> > call
>> >> > to
>> >> > get services shows pending for many minutes and then no EXTERNAL-IP
>> >> > appears
>> >> >
>> >> > 2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user
>> >> > discussion
>> >> > and
>> >> > Q&A <kubernet...@googlegroups.com>:
>> >> >>
>> >> >> 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.ch...@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 <kubernet...@googlegroups.com>:
>> >> >> >> > Q&A <kubernet...@googlegroups.com>:
>> >> >> >> >> > email to kubernetes-use...@googlegroups.com.
>> >> >> >> >> > To post to this group, send email to
>> >> >> >> >> > kubernet...@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-use...@googlegroups.com.
>> >> >> >> >> To post to this group, send email to
>> >> >> >> >> kubernet...@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-use...@googlegroups.com.
>> >> >> >> > To post to this group, send email to
>> >> >> >> > kubernet...@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-use...@googlegroups.com.
>> >> >> >> To post to this group, send email to
>> >> >> >> kubernet...@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-use...@googlegroups.com.
>> >> >> > To post to this group, send email to
>> >> >> > kubernet...@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-use...@googlegroups.com.
>> >> >> To post to this group, send email to
>> >> >> kubernet...@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-use...@googlegroups.com.
>> >> > To post to this group, send email to
>> >> > kubernet...@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-use...@googlegroups.com.
>> >> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> > To post to this group, send email to kubernet...@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-use...@googlegroups.com.
>> To post to this group, send email to kubernet...@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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.

YASMINE CHEIKHROUHOU

unread,
Apr 5, 2017, 5:58:38 PM4/5/17
to kubernet...@googlegroups.com
Thank you sir

2017-04-05 22:52 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and Q&A <kubernet...@googlegroups.com>:
So THAT is what you should figure out, not how to (ab)use a different
feature.  Without knowing all of the details of your whole install, I
can't say why load-balancer doesn't work in your install.  There needs
to be a controller that implements it, usually through the
CloudProvider interface...



On Wed, Apr 5, 2017 at 2:49 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
> good but as i said
> i exposed  service after calling expose --type=LoadBalancer a call to get
> services shows pending for many minutes and then no EXTERNAL-IP appears
> i don't know whyy
>
> 2017-04-05 22:38 GMT+01:00 'Tim Hockin' via Kubernetes user discussion and

>>
>> On Wed, Apr 5, 2017 at 2:23 PM, YASMINE CHEIKHROUHOU
>> <yasmine.ch...@enis.tn> wrote:
>> > it seems that i don't understand you when i tell it's for production
>> > 1) i instlled cluster kubernetes with murano
>> > 2) i run image ubuntu-xrdp from docker hub
>>
>> OK, so now you have a single pod running in your cluster
>>
>> > 3) i want to access to this image with xrdp i want public Ip:Port i cant
>>
>> You need a Service for a public IP
>>
>> > access but when i do
>> > kubectl port-forward My_Pod 3389:3389
>> > i get
>> > Forwarding from 127.0.0.1:3389 -> 3389
>>
>> kubectl is not, in general, how you get traffic into and out of your
>> cluster.  You want a service with a load balancer.
>>
>> > i don't want localhost i want to allow port-forwading to more interfaces
>> > than localhost
>> > you see sir what i mean
>> > I hope you understand me and you can help me because really blocked
>> > i want this in the picture but i can't because it's forwarding only
>> > localhost
>> > thank you
>> >
>> > 2017-04-05 22:02 GMT+01:00 'Tim Hockin' via Kubernetes user discussion
>> > and

>> >>
>> >> On what cloud?
>> >>
>> >> On Wed, Apr 5, 2017 at 1:59 PM, YASMINE CHEIKHROUHOU
>> >> <yasmine.ch...@enis.tn> wrote:
>> >> > yes it's for production Sir
>> >> > i try to expose service after calling expose --type=LoadBalancer a
>> >> > call
>> >> > to
>> >> > get services shows pending for many minutes and then no EXTERNAL-IP
>> >> > appears
>> >> >
>> >> > 2017-04-05 21:32 GMT+01:00 'Tim Hockin' via Kubernetes user
>> >> > discussion
>> >> > and

>> >> >>
>> >> >> 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.ch...@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>:

>> >> >> >> >> > To post to this group, send email to

>> >> >> >> >> > 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

>> >> >> >> >> To post to this group, send email to

>> >> >> >> >> 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

>> >> >> >> > To post to this group, send email to

>> >> >> >> > 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

>> >> >> >> To post to this group, send email to

>> >> >> >> 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

>> >> >> > To post to this group, send email to

>> >> >> > 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

>> >> >> To post to this group, send email to

>> >> >> 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

>> >> > To post to this group, send email to

>> >> > 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+unsubscribe@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+unsubscribe@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

>> 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+unsubscribe@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+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages