Skip to content

Commit

Permalink
enhance: bind e2e to dedicated nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine committed Apr 24, 2024
1 parent 9691148 commit 23f0fe7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/scripts/values/ci/nightly-one-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ metrics:
serviceMonitor:
enabled: true

nodeSelector:
node-role.kubernetes.io/e2e: ""

tolerations:
- key: "node-role.kubernetes.io/e2e"
operator: "Exists"
effect: "NoSchedule"

cluster:
enabled: false
etcd:
Expand Down
9 changes: 9 additions & 0 deletions tests/scripts/values/ci/pr-4am.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ metrics:
enabled: true
log:
level: debug

nodeSelector:
node-role.kubernetes.io/e2e: ""

tolerations:
- key: "node-role.kubernetes.io/e2e"
operator: "Exists"
effect: "NoSchedule"

proxy:
resources:
requests:
Expand Down
9 changes: 9 additions & 0 deletions tests/scripts/values/ci/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
metrics:
serviceMonitor:
enabled: true

nodeSelector:
node-role.kubernetes.io/e2e: ""

tolerations:
- key: "node-role.kubernetes.io/e2e"
operator: "Exists"
effect: "NoSchedule"

log:
level: debug
proxy:
Expand Down

0 comments on commit 23f0fe7

Please sign in to comment.