Re: Integrating Jenkins with EKS Cluster

2019-09-18 Thread Junaid Mukhtar
Hi Vincent Do you know how to set the JAVA Arg for the Jenkins running in the EKS and is installed by the helm install command? Regards, Junaid On Fri, Sep 6, 2019 at 12:55 PM Vincent Latombe wrote: > No, you just need to configure the kubernetes cloud by providing > credentials type

Re: Integrating Jenkins with EKS Cluster

2019-09-12 Thread Junaid Mukhtar
Made some progress, Jenkins on EC2 is able to connect to the EKS Cluster via the kubeconfig and test connection is fine. I also tested the kubectl command from the jenkins servers and it also works fine But when i try to run a pipeline i get followin io.fabric8.kubernetes.client.KubernetesClientE

Re: Integrating Jenkins with EKS Cluster

2019-09-09 Thread Junaid Mukhtar
I have made the necessary configurations but I am getting following exception; it looks like Jenkins is not sending the configured username properly io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://x.sk1.eu-west-1.eks.amazonaws.com/api/v1/namespaces/ku

Re: Integrating Jenkins with EKS Cluster

2019-09-06 Thread Vincent Latombe
No, you just need to configure the kubernetes cloud by providing credentials type secret file, and you provide a kubeconfig that you validated works using kubectl. It replaces the configuration completely (including host). One more gotcha with EKS: https://github.com/jenkinsci/kubernetes-plugin#run

Re: Integrating Jenkins with EKS Cluster

2019-09-06 Thread Junaid Mukhtar
Hi Vincent We are currently running Jenkins (EC2) and Kubernetes (EC2) and are trying to migrate from Kubernetes to EKS for ease of management. I was hoping to do one step at a time and reuse as much as possible in Jenkins. But if moving Jenkins into EKS would make life a lot easier then i can def

Re: Integrating Jenkins with EKS Cluster

2019-09-06 Thread Vincent Latombe
You can provide a kubeconfig file as credentials. You'll need aws-iam-authenticator set up on the EC2 instance you have Jenkins installed on, as well as running your EC2 instance with an instance profile with the ability to log in to your EKS cluster. Out of curiosity, why don't you run your Jenki

Re: Integrating Jenkins with EKS Cluster

2019-09-04 Thread Junaid Mukhtar
> Hi Team > > We are using Jenkins to run build, test and deploy jobs to our KOPS > Cluster successfully without any issues. Jenkins is running on a dedicated > EC2 instance > > We are now planning to switch over to EKS Cluster and want to point > Jenkins to the new EKS cluster to perform the same