Skip to content

Commit

Permalink
[castai-agent] preffer castai nodes during scheduling (#175)
Browse files Browse the repository at this point in the history
Co-authored-by: Rokas Bilevičius <[email protected]>
  • Loading branch information
cicdcast and r0kas authored Nov 14, 2022
1 parent 0d84cf0 commit eba5a7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/castai-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: castai-agent
description: CAST AI agent deployment chart.
type: application
version: 0.38.0
version: 0.39.0
appVersion: "v0.34.1"
8 changes: 8 additions & 0 deletions charts/castai-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ affinity:
operator: NotIn
values:
- windows
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: provisioner.cast.ai/managed-by
operator: In
values:
- cast.ai
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
Expand Down

0 comments on commit eba5a7e

Please sign in to comment.