Skip to content
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

chore(updatecli): add cik8s-bom to kubernetes-pods-quotas.yaml #3851

Merged
merged 1 commit into from
Apr 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions updatecli/updatecli.d/charts/kubernetes-pods-quotas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ scms:
sources:
cik8s_maxcapacity:
kind: yaml
name: get pods number for cik8s in ci
name: get pods number for cik8s in ci.jenkins.io, namespace 'jenkins-agents'
spec:
file: "https://raw.githubusercontent.com/jenkins-infra/jenkins-infra/production/hieradata/clients/azure.ci.jenkins.io.yaml"
key: "profile::jenkinscontroller::jcasc.cloud_agents.kubernetes.cik8s.max_capacity"
cik8s_bom_maxcapacity:
kind: yaml
name: get pods number for cik8s in ci.jenkins.io, namespace 'jenkins-agents-bom'
spec:
file: "https://raw.githubusercontent.com/jenkins-infra/jenkins-infra/production/hieradata/clients/azure.ci.jenkins.io.yaml"
key: "profile::jenkinscontroller::jcasc.cloud_agents.kubernetes.cik8s-bom.max_capacity"
doks_maxcapacity:
kind: yaml
name: get pods number for doks in ci
name: get pods number for doks in ci.jenkins.io
spec:
file: "https://raw.githubusercontent.com/jenkins-infra/jenkins-infra/production/hieradata/clients/azure.ci.jenkins.io.yaml"
key: "profile::jenkinscontroller::jcasc.cloud_agents.kubernetes.doks.max_capacity"
Expand All @@ -35,6 +41,14 @@ targets:
file: config/jenkins-kubernetes-agents_ci.jenkins.io_cik8s.yaml
key: 'quotas.pods'
scmid: default
quotas_cik8s_bom_maxcapacity:
name: "Update the pods quotas in kubernetes for cik8s-bom"
kind: yaml
sourceid: cik8s_bom_maxcapacity
spec:
file: config/jenkins-kubernetes-agents_ci.jenkins.io_cik8s-bom.yaml
key: 'quotas.pods'
scmid: default
quotas_doks_maxcapacity:
name: "Update the pods quotas in kubernetes for doks"
kind: yaml
Expand All @@ -48,7 +62,7 @@ actions:
default:
kind: github/pullrequest
scmid: default
title: Update `quotas.pods` within `cik8s` cluster to {{ source "cik8s_maxcapacity" }} and/or `doks` cluster to {{ source "doks_maxcapacity" }}
title: Update `quotas.pods` within `cik8s` cluster to {{ source "cik8s_maxcapacity" }}, `cik8s` cluster (`bom` node pool) to {{ source "cik8s_bom_maxcapacity" }} and/or `doks` cluster to {{ source "doks_maxcapacity" }}
spec:
labels:
- dependencies
Expand Down