From f13d3a53cc848fa63f10cb3e5c314660805f3052 Mon Sep 17 00:00:00 2001 From: hugo meiland Date: Fri, 12 Jul 2024 12:39:05 +0200 Subject: [PATCH] eessi on fresh installation --- deploy/aks-eessi/aml-cvmfs-pvc.yaml | 5 ++++- deploy/aks-eessi/mirror_containers_and_install_csi.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/aks-eessi/aml-cvmfs-pvc.yaml b/deploy/aks-eessi/aml-cvmfs-pvc.yaml index 27ae4be..aa0a027 100644 --- a/deploy/aks-eessi/aml-cvmfs-pvc.yaml +++ b/deploy/aks-eessi/aml-cvmfs-pvc.yaml @@ -3,6 +3,9 @@ kind: StorageClass metadata: name: cvmfs provisioner: cvmfs.csi.cern.ch +parameters: + # Repository address goes here. + repository: software.eessi.io --- apiVersion: v1 kind: PersistentVolumeClaim @@ -12,7 +15,7 @@ metadata: labels: ml.azure.com/pvc: "true" annotations: - ml.azure.com/mountpath: "/cvmfs" + ml.azure.com/mountpath: "/cvmfs/software.eessi.io" spec: storageClassName: "cvmfs" accessModes: diff --git a/deploy/aks-eessi/mirror_containers_and_install_csi.sh b/deploy/aks-eessi/mirror_containers_and_install_csi.sh index ff82d6a..2390c3d 100755 --- a/deploy/aks-eessi/mirror_containers_and_install_csi.sh +++ b/deploy/aks-eessi/mirror_containers_and_install_csi.sh @@ -29,6 +29,6 @@ popd helm install cvmfs oci://${1}.azurecr.io/helm/cvmfs-csi kubectl create -f aml-cvmfs-pvc.yaml -kubectl create -f aml-pod-mount-all-repos.yaml +# kubectl create -f aml-pod-mount-all-repos.yaml rm -rf cvmfs-csi