Skip to content

Commit

Permalink
swan-cern: Configure cvmfs prefetcher to have its own image
Browse files Browse the repository at this point in the history
Since swan-cern is launched with jovyan by default, and we need
the prefetcher container to run as root.
  • Loading branch information
etejedor committed Aug 14, 2024
1 parent 3bcd24d commit 8311954
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions swan-cern/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ global:
lcg:
platform:

user-image:
name: &userImageName "gitlab-registry.cern.ch/swan/docker-images/jupyter/swan-cern"
tag: &userImageTag "v0.0.21"

swan:
cvmfs-csi:
extraConfigMaps:
Expand All @@ -29,10 +25,9 @@ swan:
nodeplugin:
prefetcher:
enabled: true
# Ensure the warmup cronjobs run with the same image as the user
image:
repository: *userImageName
tag: *userImageTag
repository: gitlab-registry.cern.ch/swan/docker-images/jupyter/prefetcher
tag: v0.0.1
# Jobs to warmup ROOT, NXCALS and CUDA stacks respectively
jobs:
- name: cron-warmup-lcg-releases
Expand Down Expand Up @@ -68,8 +63,8 @@ swan:
cpu:
guarantee: 0.5
image:
name: *userImageName
tag: *userImageTag
name: gitlab-registry.cern.ch/swan/docker-images/jupyter/swan-cern
tag: v0.0.21
scheduling:
userPods:
nodeAffinity:
Expand Down

0 comments on commit 8311954

Please sign in to comment.