Skip to content

Commit

Permalink
weights now in between 0-100 as required
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Feb 20, 2018
1 parent 666951a commit 0f86460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/hub/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def generate_user_name(spawner):
'affinity': {
'podAffinity': {
'preferredDuringSchedulingIgnoredDuringExecution': [{
'weight': 1000,
'weight': 50,
'podAffinityTerm': {
'labelSelector': {
'matchExpressions': [{
Expand All @@ -297,7 +297,7 @@ def generate_user_name(spawner):
'topologyKey': 'kubernetes.io/hostname'
}
}, {
'weight': 100,
'weight': 5,
'podAffinityTerm': {
'labelSelector': {
'matchExpressions': [{
Expand Down

0 comments on commit 0f86460

Please sign in to comment.