Skip to content

Commit

Permalink
fix(apps/prod/jenkins/post): add jenkins-tikv and jenkins-tiflash nam…
Browse files Browse the repository at this point in the history
…espaces (#1207)

Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Aug 5, 2024
1 parent 8e171fb commit 67d2485
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/prod/jenkins/post/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- tidb
- tidb-mergeci
- tiflow
- ti-pipeline
- cd
- pd
- ti-pipeline
- tidb
- tidb-mergeci
- tiflash
- tiflash-schrodinger
- tiflow
- tikv
6 changes: 6 additions & 0 deletions apps/prod/jenkins/post/tiflash/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: jenkins-tiflash
resources:
- namespace.yaml
- ../_base
9 changes: 9 additions & 0 deletions apps/prod/jenkins/post/tiflash/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Namespace
metadata:
name: jenkins-tiflash
annotations:
scheduler.alpha.kubernetes.io/defaultTolerations:
'[{"operator": "Equal", "effect": "NoSchedule", "key": "dedicated",
"value": "test-infra"}]'
scheduler.alpha.kubernetes.io/node-selector: enable-ci=true,ci-nvme-high-performance=true
6 changes: 6 additions & 0 deletions apps/prod/jenkins/post/tikv/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: jenkins-tikv
resources:
- namespace.yaml
- ../_base
9 changes: 9 additions & 0 deletions apps/prod/jenkins/post/tikv/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Namespace
metadata:
name: jenkins-tikv
annotations:
scheduler.alpha.kubernetes.io/defaultTolerations:
'[{"operator": "Equal", "effect": "NoSchedule", "key": "dedicated",
"value": "test-infra"}]'
scheduler.alpha.kubernetes.io/node-selector: enable-ci=true,ci-nvme-high-performance=true

0 comments on commit 67d2485

Please sign in to comment.