Hello,
I am trying to setup the dynamic jenkins slaves in the kubernetes cluster in Rancher.
The jenskins master is outside of kubernetes cluster and docker container.
It seems not connect from jenkins master to kubernetes cluster using “jenkins kubernetes plugin”
I am wondering if anyone have done this sort of setup?
The version of the setup :
Rancher1.6.15 with kubernetes 1.9.4
Jenkins 2.107.2 kubernetes plugin 1.6.0
( https://plugins.jenkins.io/kubernetes )
From Jenkins --> configure system -> cloud -> kubernetes,
- kubernetes URL… This is rancher api server end point? for ex, https://rancher:8080/r/projects/xxx/kubernetes:6443\api\v1
- kubernetes server certificate key : where do I get kubernetes server certificate key?
my .kube/config only has user:token, not server certificate.
There is default service account running in kubernetes cluster.
Any help would be appreciated.
Thanks,
skuzie