-
-
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: add a new kubernetes cluster cijenkinsio-agents-2 with datadog …
…as unique release (#6020) as per jenkins-infra/helpdesk#4319 (comment) starting adding the new EKS cluster to infra.ci kubernetes-management kubeconfig added as secrets here jenkins-infra/charts-secrets@a24b1ec and datadog api key here jenkins-infra/charts-secrets@c7505e8 need #6021⚠️ BEFORE merging this PR we need to create the `datadog` namespace using : ``` kubectl config use-context arn:aws:eks:us-east-2:326712726440:cluster/cijenkinsio-agents-2 kubectl create ns datadog ``` splitting in multiple PR: this one is with the minimum release possible, so only datadog as a start
- Loading branch information
Showing
5 changed files
with
56 additions
and
7 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
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,20 @@ | ||
--- | ||
helmDefaults: | ||
atomic: true | ||
force: false | ||
timeout: 300 | ||
wait: true | ||
repositories: | ||
# https://github.com/DataDog/helm-charts/ | ||
- name: datadog | ||
url: https://helm.datadoghq.com | ||
releases: | ||
- name: datadog | ||
namespace: datadog | ||
chart: datadog/datadog | ||
version: 3.84.2 #todo update updatecli/updatecli.d/charts/datadog.yaml | ||
values: | ||
- "../config/datadog.yaml.gotmpl" | ||
- "../config/datadog_cijenkinsio-agents-2.yaml" | ||
secrets: | ||
- "../secrets/config/datadog/cijenkinsio-agents-2-secrets.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,35 @@ | ||
datadog: | ||
clusterName: cijenkinsio-agents-2 | ||
env: | ||
- name: DD_HOSTNAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: spec.nodeName | ||
clusterAgent: | ||
nodeSelector: | ||
jenkins: ci.jenkins.io | ||
role: applications | ||
tolerations: | ||
- key: "ci.jenkins.io/applications" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" | ||
agents: | ||
tolerations: | ||
# These tolerations are needed to run the agents on the bom node pool | ||
- key: "ci.jenkins.io/bom" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" | ||
- key: "ci.jenkins.io/applications" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" | ||
- key: "ci.jenkins.io/agents" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" | ||
- key: "CriticalAddonsOnly" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" |
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