Skip to content

Commit

Permalink
Enable garbage collection for k8s pods
Browse files Browse the repository at this point in the history
  • Loading branch information
fredg02 committed Dec 3, 2024
1 parent 8c27aac commit 4829112
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instances/technology.cbi/target/jenkins/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jenkins:
containerCapStr: "10"
jenkinsUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi"
jenkinsTunnel: "jenkins-discovery.cbi.svc.cluster.local:50000"
garbageCollection:
timeout: 300
maxRequestsPerHostStr: "32"
namespace: "cbi"
podRetention: "never"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ data:
containerCapStr: "10"
jenkinsUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi"
jenkinsTunnel: "jenkins-discovery.cbi.svc.cluster.local:50000"
garbageCollection:
timeout: 300
maxRequestsPerHostStr: "32"
namespace: "cbi"
podRetention: "never"
Expand Down
2 changes: 2 additions & 0 deletions templates/jenkins/configuration.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jenkins:
containerCapStr: "{{../jenkins.maxConcurrency}}"
jenkinsUrl: "http://jenkins-ui.{{../kubernetes.master.namespace}}.svc.cluster.local{{../deployment.prefix}}"
jenkinsTunnel: "jenkins-discovery.{{../kubernetes.master.namespace}}.svc.cluster.local:{{../deployment.jnlpPort}}"
garbageCollection:
timeout: 300
maxRequestsPerHostStr: "32"
namespace: "{{this.namespace}}"
podRetention: "never"
Expand Down

0 comments on commit 4829112

Please sign in to comment.