Skip to content

Commit

Permalink
Fixing Jenkins modules in EKS workshop (#105)
Browse files Browse the repository at this point in the history
Co-authored-by: Palavalasa <[email protected]>
  • Loading branch information
black-mirror-1 and Palavalasa authored Sep 29, 2020
1 parent 5fdf0b2 commit 8ad7295
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ The creation of the workers will take about 3 minutes.
1. On the left hand side click on the **Configure Clouds** link. That will take you to the cloud configuration where Kubernetes.
1. Click on the **Pod Templates...** button to expand the default pod template definition and then click again on **Pod Template Details...***
1. Change the default pod name, attribute **Name** from `defualt` to `jenkins-agent`. We want to be able to identify the pods that are running in our clusters by name.
1. For the **Command to run** parameter, **remove** the content of the box (/bin/sh -c) - we don't need this custom run command.
![Jenkins Pod Setup 1](/images/using_ec2_spot_instances_with_eks/jenkins/jenkinslabels-1.png)
1. At the bottom of the page, near the end of the Pod template section, for the **Node Selector** parameter , add the following: `intent=jenkins-agents,lifecycle=Ec2Spot` in order to instruct the Jenkins agent pods to run on the dedicated node group.
![Jenkins Pod Setup 2](/images/using_ec2_spot_instances_with_eks/jenkins/jenkinslabels-2.png)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ weight: 30
#### Install Jenkins

```
helm install cicd jenkinsci/jenkins --set rbac.create=true,master.servicePort=80,master.serviceType=LoadBalancer
helm install cicd jenkinsci/jenkins --set rbac.create=true,master.servicePort=80,master.serviceType=LoadBalancer,master.JCasC.enabled=false,master.enableXmlConfig=true
```

The output of this command will give you some additional information such as the
Expand Down

0 comments on commit 8ad7295

Please sign in to comment.