Skip to content

Commit

Permalink
jenkins/config: bump maxRequestsPerHost to 64
Browse files Browse the repository at this point in the history
This is a conceptual revert of the revert in #583. Now that we own the
cloud config, we can safely do this.
  • Loading branch information
jlebon committed Dec 7, 2022
1 parent 43c7702 commit a7d2009
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions jenkins/config/k8s.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
jenkins:
clouds:
- kubernetes:
# The keys below match
# mitigation for
# https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-masters/considerations-for-kubernetes-clients-connection-when-using-kubernetes-plugin
maxRequestsPerHost: 64
# The remaining keys below match
# https://github.com/openshift/jenkins/blob/7bae76f4412d/2/contrib/jenkins/kube-slave-common.sh#L75
# except that we don't include the templates since we don't need them.
# We also don't include the certificate; it's automatically fetched from
# the serviceaccount, which is what the the s2i run script does anyway.
name: "openshift"
addMasterProxyEnvVars: true
containerCap: 100
jenkinsTunnel: "${JENKINS_JNLP_SERVICE_HOST}:${JENKINS_JNLP_SERVICE_PORT_AGENT}"
jenkinsTunnel: "${JENKINS_JNLP_SERVICE_HOST}:${JENKINS_JNLP_SERVICE_PORT}"
jenkinsUrl: "http://${JENKINS_SERVICE_HOST}:${JENKINS_SERVICE_PORT}"
namespace: "${OPENSHIFT_BUILD_NAMESPACE}"
serverUrl: "https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}"

0 comments on commit a7d2009

Please sign in to comment.