-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci.jenkins.io-agents-2) add a Docker registry mirroring DockerHub (
#6201) Ref. jenkins-infra/helpdesk#4321 (comment) Requires jenkins-infra/charts-secrets@689f2c7 Tested once manually.
- Loading branch information
Showing
3 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# TODO: track with updatecli (from https://reports.jenkins.io/jenkins-infra-data-reports/aws-sponsorship.json) | ||
nodeSelector: | ||
kubernetes.io/arch: arm64 | ||
jenkins: ci.jenkins.io | ||
role: applications | ||
|
||
# TODO: track with updatecli (from https://reports.jenkins.io/jenkins-infra-data-reports/aws-sponsorship.json) | ||
tolerations: | ||
- key: "ci.jenkins.io/applications" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" | ||
|
||
resources: | ||
limits: | ||
# No CPU limit to avoid throttling | ||
memory: 4096Mi | ||
requests: | ||
cpu: 1.5 | ||
memory: 4096Mi | ||
|
||
service: | ||
type: LoadBalancer | ||
annotations: | ||
# Internal LB, with fixed IP in private subnet where EC2 VM agents are running | ||
# https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.3/guide/service/annotations/ | ||
service.beta.kubernetes.io/aws-load-balancer-type: "internal" | ||
service.beta.kubernetes.io/aws-load-balancer-scheme: "internal" | ||
# We want the LB to directly send requests to the Pod IPs (requires VPC-CNI) | ||
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip" | ||
# TODO: track with updatecli from https://reports.jenkins.io/jenkins-infra-data-reports/aws-sponsorship.json | ||
service.beta.kubernetes.io/aws-load-balancer-subnets: "subnet-031fd3566ba47fd32,subnet-0138ee90cd53d58f7,subnet-012e4bea8ebb3a5fb" | ||
# TODO: track with updatecli from https://reports.jenkins.io/jenkins-infra-data-reports/aws-sponsorship.json | ||
service.beta.kubernetes.io/aws-load-balancer-private-ipv4-addresses: "10.0.131.246,10.0.129.246,10.0.151.246" | ||
service.beta.kubernetes.io/aws-load-balancer-ip-address-type: "ipv4" | ||
# Misc. | ||
service.beta.kubernetes.io/aws-load-balancer-alpn-policy: "HTTP2Preferred" | ||
|
||
proxy: | ||
enabled: true | ||
remoteurl: "https://registry-1.docker.io" | ||
|
||
garbageCollect: | ||
enabled: true | ||
|
||
persistence: | ||
enabled: true | ||
deleteEnabled: true | ||
size: "250Gi" | ||
# TODO: track with updatecli (from https://github.com/jenkins-infra/terraform-aws-sponsorship/blob/47a0758f6f414fa12a2e8be54bd66e921f8a942a/eks-cijenkinsio-agents-2.tf#L217) | ||
# Same as ACP | ||
storageClass: ebs-csi-premium-retain-us-east-2a | ||
|
||
# Required as we use a single PVC disk which needs to be unmounted/re-mounted | ||
updateStrategy: | ||
type: RollingUpdate | ||
rollingUpdate: | ||
maxSurge: 0 |