Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins Plugin for Kubernetes Deployment (EKS)

I'm running my application in AWS-EKS and my Jenkins instance is not yet containerized. To deploy our application we are using kubectl command in the Jenkins Pipeline. I'm wondering any best practice or plugin for Kubernetes deployment via Jenkins.

So far I found below plugins which do not completely work with my use-case.

https://github.com/jenkinsci/kubernetes-plugin - To run dynamic Jenkins agents. May not be suitable for my case.

https://github.com/jenkinsci/kubernetes-cd-plugin - This plugin is providing the K8s Deployment functionality, but interacting with EKS is a bit of concern with this plugin as in EKS authentication is done by aws-iam-authenticator

Is there any plugin available in Jenkins to handle Kubernetes deployment?

Any pointers would be helpful.

like image 246
Haran Avatar asked Dec 14 '18 14:12

Haran


People also ask

Does Jenkins work with Kubernetes?

Install Jenkins with Jenkins OperatorThe Jenkins Operator is a Kubernetes native Operator which manages operations for Jenkins on Kubernetes. It was built with immutability and declarative configuration as code in mind, to automate many of the manual tasks required to deploy and run Jenkins on Kubernetes.


1 Answers

Check out Jenkins X, it was created specifically for Kubernetes applications

Helpful links:

https://aws.amazon.com/blogs/opensource/continuous-delivery-eks-jenkins-x/

https://jenkins-x.io/commands/jx_create_cluster_eks/#jx-create-cluster-eks

like image 171
riverfall Avatar answered Oct 16 '22 20:10

riverfall