Skip to content

Commit

Permalink
Replace affinity with simpler node selector
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Dec 20, 2024
1 parent 756e409 commit b72ea44
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions applications/nublado/values-idfdev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ controller:
config:
logLevel: "DEBUG"
fileserver:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "node_pool"
operator: "In"
values:
- "user-lab-pool"
enabled: true
nodeSelector:
node_pool: "user-lab-pool"
tolerations:
- key: "nublado.lsst.io/permitted"
operator: "Exists"
Expand All @@ -29,15 +22,6 @@ controller:
repository: "sciplat"
image: "sciplat-lab"
lab:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "node_pool"
operator: "In"
values:
- "user-lab-pool"
env:
AUTO_REPO_SPECS: "https://github.com/lsst-sqre/system-test@prod,https://github.com/rubin-dp0/tutorial-notebooks@prod"
AWS_SHARED_CREDENTIALS_FILE: "/opt/lsst/software/jupyterlab/secrets/aws-credentials.ini"
Expand All @@ -55,6 +39,8 @@ controller:
volumeMounts:
- containerPath: "/home"
volumeName: "home"
nodeSelector:
node_pool: "user-lab-pool"
secrets:
- secretName: "nublado-lab-secret"
secretKey: "aws-credentials.ini"
Expand Down

0 comments on commit b72ea44

Please sign in to comment.