can't access pod kubernetes with rdp

368 views
Skip to first unread message

jasmin

unread,
Apr 3, 2017, 9:20:12 AM4/3/17
to Kubernetes user discussion and Q&A
Hello
I have create pod using this command kubectl run foo --image=umis/xubuntu-office-xrdp-desktop:v2.0 --port=3389 
i have the pod's status running but when i want to connect with mstsc using  i can't 
Pleeease help 

Christian Koep

unread,
Apr 3, 2017, 9:33:45 AM4/3/17
to kubernet...@googlegroups.com
Can you share more info about your cluster?

Where/how did you set it up?

Could you share the output of "kubectl get svc" ?
> --
> 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 3, 2017, 9:42:29 AM4/3/17
to kubernet...@googlegroups.com
2017-04-03 14:33 GMT+01:00 Christian Koep <der...@gmail.com>:
Can you share more info about your cluster?

Where/how did you set it up?

Could you share the output of "kubectl get svc" ?


On Mon, Apr 3, 2017 at 3:20 PM, jasmin <yasmine.ch...@enis.tn> wrote:
> Hello
> I have create pod using this command kubectl run foo
> --image=umis/xubuntu-office-xrdp-desktop:v2.0 --port=3389
> https://hub.docker.com/r/umis/xubuntu-office-xrdp-desktop/
> i have the pod's status running but when i want to connect with mstsc using
> i can't
> Pleeease help
>
> --
> 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/D32-FCqJ784/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
service.PNG

Christian Koep

unread,
Apr 3, 2017, 9:56:28 AM4/3/17
to kubernet...@googlegroups.com
It looks like you are trying to access an internal service from
outside of your cluster.

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 Mon, Apr 3, 2017 at 3:42 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
>
> 2017-04-03 14:33 GMT+01:00 Christian Koep <der...@gmail.com>:
>>
>> Can you share more info about your cluster?
>>
>> Where/how did you set it up?
>>
>> Could you share the output of "kubectl get svc" ?
>>
>>
>> On Mon, Apr 3, 2017 at 3:20 PM, jasmin <yasmine.ch...@enis.tn>
>> wrote:
>> > Hello
>> > I have create pod using this command kubectl run foo
>> > --image=umis/xubuntu-office-xrdp-desktop:v2.0 --port=3389
>> > https://hub.docker.com/r/umis/xubuntu-office-xrdp-desktop/
>> > i have the pod's status running but when i want to connect with mstsc
>> > using
>> > i can't
>> > Pleeease help
>> >
>> > --
>> > 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
>>
>> --
>> 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/D32-FCqJ784/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.

Christian Koep

unread,
Apr 3, 2017, 10:02:25 AM4/3/17
to kubernet...@googlegroups.com
To verify this you can try:

kubectl port-forward NAME_OF_YOUR_POD 3389:3389

And then connect to localhost:3389 via your RDP client.

If this works you just have to look into how to expose your service.

Rodrigo Campos

unread,
Apr 3, 2017, 10:14:43 AM4/3/17
to kubernet...@googlegroups.com
The docs about services and kubectl proxy will help you a lot.

Please ask what is not clear or covered there :)
--
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.

YASMINE CHEIKHROUHOU

unread,
Apr 3, 2017, 10:20:14 AM4/3/17
to kubernet...@googlegroups.com
yes i do this but as you see it stay always like this


--
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/D32-FCqJ784/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
port-forward.PNG

Christian Koep

unread,
Apr 3, 2017, 10:22:14 AM4/3/17
to kubernet...@googlegroups.com
What do you expect to happen? This looks as intended.

It sound like you don't know what your docker image is supposed to do?

On Mon, Apr 3, 2017 at 4:20 PM, YASMINE CHEIKHROUHOU
<yasmine.ch...@enis.tn> wrote:
> yes i do this but as you see it stay always like this
>
>
> 2017-04-03 15:14 GMT+01:00 Rodrigo Campos <rodr...@gmail.com>:
>>
>> The docs about services and kubectl proxy will help you a lot.
>>
>> Please ask what is not clear or covered there :)
>>
>> On Monday, April 3, 2017, jasmin <yasmine.ch...@enis.tn> wrote:
>>>
>>> Hello
>>> I have create pod using this command kubectl run foo
>>> --image=umis/xubuntu-office-xrdp-desktop:v2.0 --port=3389
>>> https://hub.docker.com/r/umis/xubuntu-office-xrdp-desktop/
>>> i have the pod's status running but when i want to connect with mstsc
>>> using i can't
>>> Pleeease help
>>>
>>> --
>>> 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/D32-FCqJ784/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.



--
Reply all
Reply to author
Forward
0 new messages