I'm stuck to setup scalable Jenkins on EKS cluster. I did on Minikube k8s on my local system to handle an additional load using the Jenkins docker slave node. But when I'm trying to set up the same setup on EKS unable to launch a docker slave node to run the job. If anyone does the same things on EKS, please share links, ideas or k8s manifest.
From your description, I can't understand clearly if you have a Jenkins "master" on EKS installed/configured. Assume you already installed Jenkins via helm or "yaml" and you can access it from UI.
Next step will be to install a plugin in Jenkins, called ‘Kubernetes’. This plugin is designed to implement Jenkins scaling on top of a Kubernetes cluster(Jenkins slaves/nodes).
After you installed the plugin you have to configure it.
Go to: Manage Jenkins -> Configure System -> Cloud -> Kubernetes
Here is how you call your Pod/slave template in Jenkinsfile:
agent {
label "jenkins-slave"
}
Here is how you call a specific slave/container template into Jenkinsfile:
steps {
container('jenkins-slave') {
}
}
For more descriptive steps feel free to Google it "How to install/configure Jenkins slave on EKS" you will get many many articles, such as this: How to install/configure Jenkins slave on EKS
Good luck!