From a7d200948e09d574833d3afc1c8bc3758656a989 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 6 Dec 2022 17:24:46 -0500 Subject: [PATCH] jenkins/config: bump maxRequestsPerHost to 64 This is a conceptual revert of the revert in #583. Now that we own the cloud config, we can safely do this. --- jenkins/config/k8s.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jenkins/config/k8s.yaml b/jenkins/config/k8s.yaml index f84fbf8b9..aedd378e2 100644 --- a/jenkins/config/k8s.yaml +++ b/jenkins/config/k8s.yaml @@ -1,7 +1,10 @@ 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 @@ -9,7 +12,7 @@ jenkins: 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}"