-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cijenkinsio-agents-2): adding the new kubernetes cluster to infra.ci management #6020
base: main
Are you sure you want to change the base?
feat(cijenkinsio-agents-2): adding the new kubernetes cluster to infra.ci management #6020
Conversation
94b3579
to
9a73c19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A first set of quick review feedbacks
nodeSelector: | ||
kubernetes.io/arch: arm64 | ||
jenkins: ci.jenkins.io | ||
role: applications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have node pools with these settings?
# replicaCount: 2 | ||
|
||
# proxy: | ||
# dnsResolver: "kube-dns.kube-system.svc.cluster.local 9.9.9.9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why commenting out these (mandatory) elements?
config/datadog_cijioagents2.yaml
Outdated
aks: | ||
enabled: true | ||
datadog: | ||
clusterName: 'cijioagents2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clusterName: 'cijioagents2' | |
clusterName: 'cijenkinsio-agents-2' |
Ref. https://github.com/jenkins-infra/terraform-aws-sponsorship/blob/main/eks-cijenkinsio-agents-2.tf#L16
We use diminutives for helmfiles but we must keep full FQDNs
config/datadog_cijioagents2.yaml
Outdated
env: | ||
- name: DD_HOSTNAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: spec.nodeName |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it needed in the case of EKS? Or is it only AKS?
config/datadog_cijioagents2.yaml
Outdated
nodeSelector: | ||
kubernetes.io/arch: arm64 | ||
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have the aforementionned node pools/group/whatever?
b5c59aa
to
eb38fb9
Compare
b4f7206
to
d85f56c
Compare
as per jenkins-infra/helpdesk#4319 (comment)
starting adding the new EKS cluster to infra.ci kubernetes-management
kubeconfig added as secrets here https://github.com/jenkins-infra/charts-secrets/commit/a24b1ec79f738ab2b2d01b46ea3111feec1abcb0
and datadog api key here https://github.com/jenkins-infra/charts-secrets/commit/c7505e8517376fd712cea6673d06c0191e5d24a9
need #6021
datadog
namespaceusing :