Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Agent Side Container Configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron McDonald <wmcdona89@gmail.com>
  • Loading branch information
wmcdona89 committed Jun 14, 2020
1 parent 91fb532 commit f3583d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stable/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ Some third-party systems, e.g. GitHub, use HTML-formatted data in their payload
| -------------------------- | ----------------------------------------------- | ---------------------- |
| `agent.enabled` | Enable Kubernetes plugin jnlp-agent podTemplate | `true` |
| `agent.containerCap` | Maximum number of agent | 10 |
| `agent.alwaysPullImage` | Always pull agent container image before build | `false` |
| Pod Configuration | | |
| `agent.podName` | Agent Pod base name | Not set |
| `agent.customJenkinsLabels`| Append Jenkins labels to the agent | `{}` |
Expand All @@ -316,17 +315,18 @@ Some third-party systems, e.g. GitHub, use HTML-formatted data in their payload
| `agent.yamlTemplate` | The raw yaml of a Pod API Object to merge into the agent spec | Not set |
| `agent.yamlMergeStrategy | Defines how the raw yaml field gets merged with yaml definitions from inherited pod templates | `override` |
| Side Container Configuration | | |
| `agent.sideContainerName` | Side container name in agent | jnlp |
| `agent.image` | Agent image name | `jenkins/jnlp-slave` |
| `agent.tag` | Agent image tag | `3.27-1` |
| `agent.alwaysPullImage` | Always pull agent container image before build | `false` |
| `agent.privileged` | Agent privileged container | `false` |
| `agent.resources` | Resources allocation (Requests and Limits) | `{requests: {cpu: 512m, memory: 512Mi}, limits: {cpu: 512m, memory: 512Mi}}` |
| `agent.command` | Executed command when side container starts | Not set |
| `agent.args` | Arguments passed to executed command | `${computer.jnlpmac} ${computer.name}` |
| `agent.sideContainerName` | Side container name in agent | jnlp |
| `agent.TTYEnabled` | Allocate pseudo tty to the side container | false |
| `agent.workingDir` | Configure working directory for default agent | `/home/jenkins` |
| Other | | |
| `agent.podTemplates` | Configures extra pod templates for the default kubernetes cloud | `{}` |
| `agent.workingDir` | Configure working directory for default agent | `/home/jenkins` |
| `additionalAgents` | Configure additional agents which inherit values from `agent` | `{}` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
Expand Down

0 comments on commit f3583d4

Please sign in to comment.