Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
address code review
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <[email protected]>
  • Loading branch information
tylerslaton committed Feb 1, 2024
1 parent f66e866 commit 9926d71
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ memory:
min: 50Mi
max: 200Mi
default: 100Mi
requestScaler: 0.5
# affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: foo
# operator: In
# values:
# - bar
supportedRegions:
- local
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: foo
operator: In
values:
- bar
2 changes: 1 addition & 1 deletion pkg/controller/quota/testdata/basic/expected.golden
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
apps: 0
computeClasses:
default-compute-class:
cpu: 250m
cpu: "0"
memory: 1Gi
containers: 1
images: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ description: Simple description for a simple ComputeClass
cpuScaler: 0.25
default: true
memory:
min: 100Mi # 1Mi
max: 200Mi # 2Mi
default: 100Mi # 1Mi
min: 100Mi # 100Mi
max: 200Mi # 200Mi
default: 100Mi # 100Mi
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit 9926d71

Please sign in to comment.