Skip to content

Commit

Permalink
test/e2e: fix incorrect Allocat[ion|or]Priority config key.
Browse files Browse the repository at this point in the history
And also use more consistent naming in the environment wrt.
the actual configuration key.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Nov 3, 2023
1 parent 66bdaa4 commit deb5edf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data:
- Name: btype0
MinCPUs: ${BTYPE0_MINCPUS:-2}
MaxCPUs: ${BTYPE0_MAXCPUS:-2}
AllocationPriority: ${BTYPE0_ALLOCATIONPRIORITY:-0}
AllocatorPriority: ${BTYPE0_ALLOCATORPRIORITY:-0}
CPUClass: ${BTYPE0_CPUCLASS:-classA}
PreferNewBalloons: ${BTYPE0_PREFERNEWBALLOONS:-true}
PreferSpreadingPods: ${BTYPE0_PREFERSPREADINGPODS:-false}
Expand All @@ -36,7 +36,7 @@ data:
- ${BTYPE1_NAMESPACE0:-btype1ns0}
MinCPUs: ${BTYPE1_MINCPUS:-1}
MaxCPUs: ${BTYPE1_MAXCPUS:-1}
AllocatorPriority: ${BTYPE1_ALLOCATIONPRIORITY:-1}
AllocatorPriority: ${BTYPE1_ALLOCATORPRIORITY:-1}
CPUClass: ${BTYPE1_CPUCLASS:-classB}
PreferNewBalloons: ${BTYPE1_PREFERNEWBALLOONS:-false}
PreferSpreadingPods: ${BTYPE1_PREFERSPREADINGPODS:-true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ policy:
# Prevent a balloon to be inflated larger than a NUMA node
MinCPUs: 0
MaxCPUs: 4
AllocationPriority: 0
AllocatorPriority: 0
PreferNewBalloons: false
instrumentation:
HTTPEndpoint: ":8891"
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ policy:
- Name: two-cpu
MinCPUs: 2
MaxCPUs: 2
AllocationPriority: 0
AllocatorPriority: 0
CPUClass: class2
PreferNewBalloons: true

Expand Down

0 comments on commit deb5edf

Please sign in to comment.