help with kubernetes jenkins plugin setup

305 views
Skip to first unread message

Alex B

unread,
Sep 4, 2017, 11:03:13 AM9/4/17
to Jenkins Users
I am trying to setup Jenkins to use Kubernetes for build agents on Azure. Right now I have an instance of Jenkins running in a VM and an instance of Kubernetes setup in Azure using Azure container service.

My Jenkins instance is working and Kubernetes is working. I've installed the kubernetes plugin for Jenkins but when I go to configure kubernetes under the cloud options I run into issues.

How do I configure the cloud settings so I can get Jenkins to use Kubernetes for build agents?

Which URL do I use for the "Kubernetes URL"?

Which cert do I use for "Kubernetes server certificate key"?

Which credentials do I use for "Credentials"? When I run kubectl config view I do not have a password but do have a user and certs.




I have no requirement to run Jenkins in its own VM and would be willing to move it to run on Kubernetes if it makes using this plugin easier. 

Carlos Sanchez

unread,
Sep 4, 2017, 11:25:37 AM9/4/17
to Jenkins Users
On Mon, Sep 4, 2017 at 4:57 PM, Alex B <alex.be...@gmail.com> wrote:
I am trying to setup Jenkins to use Kubernetes for build agents on Azure. Right now I have an instance of Jenkins running in a VM and an instance of Kubernetes setup in Azure using Azure container service.

My Jenkins instance is working and Kubernetes is working. I've installed the kubernetes plugin for Jenkins but when I go to configure kubernetes under the cloud options I run into issues.

How do I configure the cloud settings so I can get Jenkins to use Kubernetes for build agents?

Which URL do I use for the "Kubernetes URL"?

that will be provided by azure, check kubectl config view
 

Which cert do I use for "Kubernetes server certificate key"? 

Which credentials do I use for "Credentials"? When I run kubectl config view I do not have a password but do have a user and certs.

 




I have no requirement to run Jenkins in its own VM and would be willing to move it to run on Kubernetes if it makes using this plugin easier. 

in kubernetes it will be able to autoconfigure in the next version
 

--
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 jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b351f98e-480e-49d1-9172-8cfb104f6d36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex B

unread,
Sep 5, 2017, 1:52:18 AM9/5/17
to Jenkins Users
This worked. Thanks


On Monday, September 4, 2017 at 10:25:37 AM UTC-5, Carlos Sanchez wrote:
On Mon, Sep 4, 2017 at 4:57 PM, Alex B <alex.be...@gmail.com> wrote:
I am trying to setup Jenkins to use Kubernetes for build agents on Azure. Right now I have an instance of Jenkins running in a VM and an instance of Kubernetes setup in Azure using Azure container service.

My Jenkins instance is working and Kubernetes is working. I've installed the kubernetes plugin for Jenkins but when I go to configure kubernetes under the cloud options I run into issues.

How do I configure the cloud settings so I can get Jenkins to use Kubernetes for build agents?

Which URL do I use for the "Kubernetes URL"?

that will be provided by azure, check kubectl config view
 

Which cert do I use for "Kubernetes server certificate key"? 

Which credentials do I use for "Credentials"? When I run kubectl config view I do not have a password but do have a user and certs.

 




I have no requirement to run Jenkins in its own VM and would be willing to move it to run on Kubernetes if it makes using this plugin easier. 

in kubernetes it will be able to autoconfigure in the next version
 

--
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 jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages