Intermittent authorization issue with the Jenkins k8s plugin & EKS

13 views
Skip to first unread message

Andres Galindo

unread,
Jul 18, 2019, 9:41:24 AM7/18/19
to Jenkins Users

Hi all, 


Currently we're using EKS (v1.13) with Jenkins (v2.176.1) and the Kubernetes plugin (v1.17.2) and it seems like every 15 minutes (coincides with how long the generated token is supposed last) there is an issue with authorizing against the cluster. 


Here is the error message: https://gist.githubusercontent.com/mrferos/b193bbf1a2753d63dfbf17334f19168d/raw/cfa73e64594d172f72c1838b2364d554cdc9a97e/error.txt


Here is the kubeconfig we have saved as a credential: https://gist.githubusercontent.com/mrferos/fc7ee471a59caca0bca94242e7983911/raw/71a0a287923eca2e2050dcff5c25d39eb307ad6c/config.yaml


I was hoping someone had some experience with the above issue or some insight as to where I should look into next?


Cheers,

Andres.


P.S. will do the 2.176.2 security update soon, just want to get this issue figured out first.

Andres Galindo

unread,
Jul 18, 2019, 9:49:48 AM7/18/19
to Jenkins Users
Think I found the issue, I had a much older version of the kube plugin installed and since then, client caching was introduced, I am applying the fix found here: https://github.com/jenkinsci/kubernetes-plugin/pull/429
Reply all
Reply to author
Forward
0 new messages