Hello Carlos,

Thanks very much for your fast hint.
I will try it.

Hong

Am Montag, 5. März 2018 11:41:52 UTC+1 schrieb Carlos Sanchez:
>
> yes, you can do that, using the tunnel parameter of the jnlp-slave jar
> If you want to run an external agent on docker use 
> JENKINS_TUNNEL=your_node_ip:your_node_port for instance
> https://github.com/jenkinsci/docker-jnlp-slave#running
>
> On Mon, Mar 5, 2018 at 11:34 AM, WANG, YAN-HONG <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> I use jenkins-kubernetes-plugin to run Jenkins in Kubernetes cluster.
>> So far that works perfectly.
>> All the nodes are automatically generated and destroyed in right moment 
>> of pipeline.
>>
>> But, is it possible to connect external *static node *within Jenkins of 
>> Kubernetes cluster ?
>>
>> By definition of NodePort, the Kubernetes master only allocates a port 
>> from a flag-configured range: *30000-32767*.
>> Suppose I need to expose *8080 *and *50000 *with *30808 *and *30500 *
>> 'NodePort'.
>>
>> I tried to change the agent_port to 
>> *30500.*
>> ​But, that still doesn't work...
>>
>> Is there any someone have some similar condition?
>>
>> Best regards,
>> Hong
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CADLWyO3EOf-OeXo3jZtwgznqyzhA%2BqZVkpjZT5ModrcXJYLQkA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/CADLWyO3EOf-OeXo3jZtwgznqyzhA%2BqZVkpjZT5ModrcXJYLQkA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/92c33e82-4ff5-4acd-a7bc-8968e0d8206d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to