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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With