-
-
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(cijenkinsio-agents-2) initial installation of ACP (#6073)
Related to jenkins-infra/helpdesk#4319 (comment) This PR introduces ACP in the AWS EKS cluster `cijenkinsio-agents-2`. it's the first set of hypothesis (EBS persistence on gp3)
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
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
45 changes: 45 additions & 0 deletions
45
config/artifact-caching-proxy_azure-cijenkinsio-agents-2.yaml
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,45 @@ | ||
persistence: | ||
enabled: true | ||
size: 100 | ||
# TODO: track with updatecli (from https://github.com/jenkins-infra/terraform-aws-sponsorship/blob/47a0758f6f414fa12a2e8be54bd66e921f8a942a/eks-cijenkinsio-agents-2.tf#L217) | ||
storageClass: ebs-csi-premium-retain-us-east-2a | ||
|
||
# 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" | ||
|
||
# We should never have 2 ACP replicas in the same host | ||
affinity: | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: "app.kubernetes.io/name" | ||
operator: In | ||
values: | ||
- artifact-caching-proxy | ||
topologyKey: "kubernetes.io/hostname" | ||
|
||
## TODO: enable LB with a private endpoint | ||
|
||
resources: | ||
limits: | ||
# No CPU limit to avoid throttling | ||
memory: 8192Mi | ||
requests: | ||
cpu: 2 | ||
memory: 8192Mi | ||
|
||
replicaCount: 2 | ||
|
||
proxy: | ||
dnsResolver: "kube-dns.kube-system.svc.cluster.local 9.9.9.9" |
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